Skip to content

Commit 69e9e92

Browse files
committed
enable blame wrap
1 parent e39b872 commit 69e9e92

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

web_src/css/base.css

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1422,7 +1422,7 @@ a.ui.active.label:hover {
14221422
}
14231423

14241424
.lines-blame-btn {
1425-
padding: 0 1px;
1425+
padding: 0 3px;
14261426
display: flex;
14271427
justify-content: center;
14281428
}
@@ -1522,9 +1522,8 @@ a.ui.active.label:hover {
15221522
}
15231523

15241524
.blame .code-inner {
1525-
white-space: pre;
1526-
word-break: normal;
1527-
word-wrap: normal; /* not using overflow-wrap because safari does not treat is an an alias */
1525+
white-space: pre-wrap;
1526+
overflow-wrap: anywhere;
15281527
}
15291528

15301529
.lines-commit {
@@ -1535,8 +1534,7 @@ a.ui.active.label:hover {
15351534
}
15361535

15371536
.lines-commit .blame-info {
1538-
width: 26vw;
1539-
max-width: 26vw;
1537+
width: min(26vw, 300px);
15401538
display: block;
15411539
padding: 0 0 0 6px;
15421540
line-height: 20px;

0 commit comments

Comments
 (0)