Skip to content

Commit

Permalink
Fix blame row height alignment (#15863)
Browse files Browse the repository at this point in the history
* fix blame row alignment on firefox

* fix blame row alignment in chrome

* fix blame row alignment in safari

as per @silverwind

Co-authored-by: techknowlogick <[email protected]>
  • Loading branch information
noerw and techknowlogick authored May 15, 2021
1 parent f3febeb commit b6b8b19
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion web_src/less/_base.less
Original file line number Diff line number Diff line change
Expand Up @@ -1504,6 +1504,7 @@ a.ui.label:hover {
.blame .code-inner {
white-space: pre;
word-break: normal;
word-wrap: normal; /* not using overflow-wrap because safari does not treat is an an alias */
}

.lines-commit {
Expand All @@ -1523,6 +1524,8 @@ a.ui.label:hover {
display: block;
user-select: none;
padding: 0 0 0 10px;
line-height: 20px;
box-sizing: content-box;

.blame-data {
display: flex;
Expand All @@ -1533,7 +1536,6 @@ a.ui.label:hover {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
line-height: 20px;
}

.blame-time,
Expand All @@ -1546,6 +1548,8 @@ a.ui.label:hover {
.ui.avatar.image {
height: 18px;
width: 18px;
display: block;
margin-top: 1px;
}
}

Expand Down

0 comments on commit b6b8b19

Please sign in to comment.