diff options
author | Ben Rohlfs <brohlfs@google.com> | 2020-11-10 10:29:58 +0100 |
---|---|---|
committer | Ben Rohlfs <brohlfs@google.com> | 2020-11-11 09:47:26 +0000 |
commit | 0f0749164a3f06ad73494da53b90b9ed24b80ae4 (patch) | |
tree | 21919f87f9439a0583f93b86b666dc26fe944e41 | |
parent | 367f949ca9eeb5d82f817c974b45b552490ae32d (diff) |
Specify line-height for code in terms of rem
We currently see 1px horizontal lines that originate from some <tr>s
being 17px instead of 16px. Apparently changing line-height to use `rem`
instead of a multiplier fixes the issue.
Change-Id: I4eec06f6fb02cf344e4ced1a6087810b3fa6512a
(cherry picked from commit 2b092152397c6fe06a75260627ddc861ebfc0d6a)
-rw-r--r-- | polygerrit-ui/app/styles/themes/app-theme.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/polygerrit-ui/app/styles/themes/app-theme.ts b/polygerrit-ui/app/styles/themes/app-theme.ts index 3641815882..9586c0965c 100644 --- a/polygerrit-ui/app/styles/themes/app-theme.ts +++ b/polygerrit-ui/app/styles/themes/app-theme.ts @@ -122,7 +122,7 @@ const styleSheet = safeStyleSheet` --font-size-h3: 1.143rem; /* 16px */ --font-size-h2: 1.429rem; /* 20px */ --font-size-h1: 1.714rem; /* 24px */ - --line-height-code: 1.334; /* 16px */ + --line-height-code: 1.143rem; /* 16px */ --line-height-mono: 1.286rem; /* 18px */ --line-height-small: 1.143rem; /* 16px */ --line-height-normal: 1.429rem; /* 20px */ |