mirror of https://github.com/go-gitea/gitea.git
* fix blame row alignment on firefox * fix blame row alignment in chrome * fix blame row alignment in safari Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
parent
e38134f707
commit
aaa539dd2d
|
@ -1496,6 +1496,7 @@ a.ui.label:hover {
|
||||||
.blame .code-inner {
|
.blame .code-inner {
|
||||||
white-space: pre;
|
white-space: pre;
|
||||||
word-break: normal;
|
word-break: normal;
|
||||||
|
word-wrap: normal; /* not using overflow-wrap because safari does not treat is an an alias */
|
||||||
}
|
}
|
||||||
|
|
||||||
.lines-commit {
|
.lines-commit {
|
||||||
|
@ -1515,6 +1516,8 @@ a.ui.label:hover {
|
||||||
display: block;
|
display: block;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
padding: 0 0 0 10px;
|
padding: 0 0 0 10px;
|
||||||
|
line-height: 20px;
|
||||||
|
box-sizing: content-box;
|
||||||
|
|
||||||
.blame-data {
|
.blame-data {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -1525,7 +1528,6 @@ a.ui.label:hover {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
line-height: 20px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.blame-time,
|
.blame-time,
|
||||||
|
@ -1538,6 +1540,8 @@ a.ui.label:hover {
|
||||||
.ui.avatar.image {
|
.ui.avatar.image {
|
||||||
height: 18px;
|
height: 18px;
|
||||||
width: 18px;
|
width: 18px;
|
||||||
|
display: block;
|
||||||
|
margin-top: 1px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue