From f19f53c0774e95b9fe07aab73c99b3106c7b0878 Mon Sep 17 00:00:00 2001 From: silverwind Date: Wed, 19 Jan 2022 11:25:08 -0800 Subject: [PATCH] Left-Align text in Unicode warning boxes (#18331) Wrapped text is more readable when left-aligned. Co-authored-by: Lauris BH Co-authored-by: zeripath --- templates/repo/unicode_escape_prompt.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/repo/unicode_escape_prompt.tmpl b/templates/repo/unicode_escape_prompt.tmpl index ea1e199f2c..96397bbf89 100644 --- a/templates/repo/unicode_escape_prompt.tmpl +++ b/templates/repo/unicode_escape_prompt.tmpl @@ -1,6 +1,6 @@ {{if .EscapeStatus}} {{if .EscapeStatus.BadBIDI}} -
+
{{svg "octicon-x" 16 "close inside"}}
{{$.root.i18n.Tr "repo.bidi_bad_header"}} @@ -8,7 +8,7 @@

{{$.root.i18n.Tr "repo.bidi_bad_description" | Str2html}}

{{else if .EscapeStatus.HasBIDI}} -
+
{{svg "octicon-x" 16 "close inside"}}
{{$.root.i18n.Tr "repo.unicode_header"}}