From c33c3b7d1e44037d3370da0ac60926293bf8a158 Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Mon, 6 May 2024 17:28:38 +0100 Subject: Alt text for gifs (#3876) * add alt text dialog * multiline alt text input * add pressable alt text badge * rename `ALT: ` to `Alt text: ` to avoid including old bad ones * reuse alt text reminder * reuse alt text reminder in gallery * add alt text reminder in the dialog itself * autofocus text input * reorder components to fix tab order * fix close btn position --- src/components/Prompt.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/components/Prompt.tsx') diff --git a/src/components/Prompt.tsx b/src/components/Prompt.tsx index 0a171674d..327bbbaa2 100644 --- a/src/components/Prompt.tsx +++ b/src/components/Prompt.tsx @@ -43,7 +43,9 @@ export function Outer({ + style={[ + gtMobile ? {width: 'auto', maxWidth: 400, minWidth: 200} : a.w_full, + ]}> {children} -- cgit 1.4.1