From 25a09017fbf3c6377292d8f77fd9120aa26a0019 Mon Sep 17 00:00:00 2001 From: silverwind Date: Wed, 19 Jan 2022 17:45:36 +0100 Subject: [PATCH] Left-Align text in Unicode warning boxes Wrapped text is more readable when left-aligned. --- 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 855d7866a3597..654624dba4927 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.Escaped}} -
+
{{svg "octicon-x" 16 "close inside"}}
{{$.root.i18n.Tr "repo.unicode_header"}}