diff options
author | Johann Hubert Sonntagbauer <johann.sonntagbauer@gmail.com> | 2018-11-14 21:39:24 +0100 |
---|---|---|
committer | Johann Hubert Sonntagbauer <johann.sonntagbauer@gmail.com> | 2018-11-15 20:31:59 +0100 |
commit | 485e17743e60df188bb415d4ec81ec7e718ee440 (patch) | |
tree | 59386d504edbe035bcf125e57d61deb875fd6c54 | |
parent | 97e3d5ce292d056a9dd15e16823b9570832db02a (diff) | |
download | gitlab-ce-485e17743e60df188bb415d4ec81ec7e718ee440.tar.gz |
Fix line height of numbers in file blame view.
Ensure that line numbers and the text content have the same line-height set.
-rw-r--r-- | app/assets/stylesheets/framework/highlight.scss | 1 | ||||
-rw-r--r-- | changelogs/unreleased/54048-Line-numbers-are-misaligned-in-file-blame-view.yml | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/app/assets/stylesheets/framework/highlight.scss b/app/assets/stylesheets/framework/highlight.scss index 452e946f95f..a0bf6907b5f 100644 --- a/app/assets/stylesheets/framework/highlight.scss +++ b/app/assets/stylesheets/framework/highlight.scss @@ -42,6 +42,7 @@ padding: 10px; text-align: right; float: left; + line-height: 1; a { font-family: $monospace-font; diff --git a/changelogs/unreleased/54048-Line-numbers-are-misaligned-in-file-blame-view.yml b/changelogs/unreleased/54048-Line-numbers-are-misaligned-in-file-blame-view.yml new file mode 100644 index 00000000000..8ceac4ec869 --- /dev/null +++ b/changelogs/unreleased/54048-Line-numbers-are-misaligned-in-file-blame-view.yml @@ -0,0 +1,5 @@ +--- +title: Fix line height of numbers in file blame view +merge_request: 23090 +author: Johann Hubert Sonntagbauer +type: fixed |