diff options
author | Cirno the Strongest <1447794+CirnoT@users.noreply.github.com> | 2020-11-07 13:54:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-07 14:54:38 +0200 |
commit | 48f8c5e1ae835faf0c66e1973fa834c8eeb9e6d7 (patch) | |
tree | be9ea2e92eb89e63580ccdcef7da1cafcd8b5991 /web_src/less | |
parent | 82cf67a93e7153747f4e324ea666e7789cd46c07 (diff) | |
download | gitea-48f8c5e1ae835faf0c66e1973fa834c8eeb9e6d7.tar.gz gitea-48f8c5e1ae835faf0c66e1973fa834c8eeb9e6d7.zip |
Fix monospace font size for .mono CSS class (#13453)
Diffstat (limited to 'web_src/less')
-rw-r--r-- | web_src/less/helpers.less | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/less/helpers.less b/web_src/less/helpers.less index b62ce3494b..0fc5d573fb 100644 --- a/web_src/less/helpers.less +++ b/web_src/less/helpers.less @@ -4,7 +4,7 @@ .js { justify-content: flex-start; } .je { justify-content: flex-end; } .sb { justify-content: space-between; } -.mono { font-family: var(--fonts-monospace); } +.mono { font-family: var(--fonts-monospace); font-size: .9em; /* compensate for monospace fonts being usually slighty larger */ } .rounded { border-radius: var(--border-radius) !important; } .word-break { word-wrap: break-word; word-break: break-all; } |