Skip to content

Commit aaa539d

Browse files
Fix blame row height alignment (#15863) (#15883)
* fix blame row alignment on firefox * fix blame row alignment in chrome * fix blame row alignment in safari Co-authored-by: techknowlogick <[email protected]>
1 parent e38134f commit aaa539d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

web_src/less/_base.less

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1496,6 +1496,7 @@ a.ui.label:hover {
14961496
.blame .code-inner {
14971497
white-space: pre;
14981498
word-break: normal;
1499+
word-wrap: normal; /* not using overflow-wrap because safari does not treat is an an alias */
14991500
}
15001501

15011502
.lines-commit {
@@ -1515,6 +1516,8 @@ a.ui.label:hover {
15151516
display: block;
15161517
user-select: none;
15171518
padding: 0 0 0 10px;
1519+
line-height: 20px;
1520+
box-sizing: content-box;
15181521

15191522
.blame-data {
15201523
display: flex;
@@ -1525,7 +1528,6 @@ a.ui.label:hover {
15251528
overflow: hidden;
15261529
white-space: nowrap;
15271530
text-overflow: ellipsis;
1528-
line-height: 20px;
15291531
}
15301532

15311533
.blame-time,
@@ -1538,6 +1540,8 @@ a.ui.label:hover {
15381540
.ui.avatar.image {
15391541
height: 18px;
15401542
width: 18px;
1543+
display: block;
1544+
margin-top: 1px;
15411545
}
15421546
}
15431547

0 commit comments

Comments
 (0)