From: Go MAEDA Date: Fri, 11 Oct 2024 08:14:54 +0000 (+0000) Subject: Set line-height for body and code blocks in Wiki Syntax Help (#41321). X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=83ce75e84467fca0b8b1a9a073ae4d73530757f4;p=redmine.git Set line-height for body and code blocks in Wiki Syntax Help (#41321). git-svn-id: https://svn.redmine.org/redmine/trunk@23116 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/assets/stylesheets/wiki_syntax_detailed.css b/app/assets/stylesheets/wiki_syntax_detailed.css index ff234ae25..e88c61755 100644 --- a/app/assets/stylesheets/wiki_syntax_detailed.css +++ b/app/assets/stylesheets/wiki_syntax_detailed.css @@ -16,7 +16,7 @@ font-display: swap; } -body { font-family: "Noto Sans", sans-serif; font-size: 0.875rem; color:#333;} +body { font-family: "Noto Sans", sans-serif; font-size: 0.875rem; color:#333; line-height: 1.6;} pre, code { font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; } pre { margin: 1em 1em 1em 1.6em; @@ -26,6 +26,7 @@ pre { width: auto; overflow-x: auto; overflow-y: hidden; + line-height: normal; } a, a:link, a:visited{ color: #169; text-decoration: none; } a:hover, a:active{ color: #c61a1a; text-decoration: underline;}