summaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authorYoan Blanc <yoan@dosimple.ch>2023-04-06 22:01:20 +0200
committerGitHub <noreply@github.com>2023-04-06 16:01:20 -0400
commit9b416b2e36a035672226d4b83c6b7e87578b17fe (patch)
treeede783a30f3de218f5db6a49d82a786b1c7c57d2 /web_src
parent797babbfcbcf845fe12c8659fffa1693ec4708bb (diff)
downloadgitea-9b416b2e36a035672226d4b83c6b7e87578b17fe.tar.gz
gitea-9b416b2e36a035672226d4b83c6b7e87578b17fe.zip
Use graceful editorconfig loader to reduce errors when loading malformed editorconfigs (#21257)
The _graceful_ should fail less when the `.editorconfig` file isn't properly written, e.g. boolean values from YAML or unparseable numbers (when a number is expected). As is... information is lost as the _warning_ (a go-multierror.Error) is ignored. If anybody knows how to send them to the UI as warning; any help is appreciated. Closes #20694 Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
Diffstat (limited to 'web_src')
-rw-r--r--web_src/css/helpers.css1
1 files changed, 1 insertions, 0 deletions
diff --git a/web_src/css/helpers.css b/web_src/css/helpers.css
index e2d195822f..834a507b68 100644
--- a/web_src/css/helpers.css
+++ b/web_src/css/helpers.css
@@ -25,6 +25,7 @@
.gt-overflow-x-scroll { overflow-x: scroll !important; }
.gt-cursor-default { cursor: default !important; }
.gt-items-start { align-items: flex-start !important; }
+.gt-whitespace-pre { white-space: pre !important }
.gt-mono {
font-family: var(--fonts-monospace) !important;