forked from forgejo/forgejo
Fix code view (diff) broken layout (#23096)
Close #22911 I think it's ready for review now, feel free to test it, welcome to help to improve. ### Before  ### After 
This commit is contained in:
parent
d93f3222a5
commit
d149093ce3
7 changed files with 33 additions and 38 deletions
|
@ -1806,8 +1806,14 @@
|
|||
padding: 0 !important;
|
||||
}
|
||||
|
||||
.repository .diff-file-box .code-diff tbody tr td.halfwidth {
|
||||
width: 49%; /* halfwidth is used in split view - and in that case, 1% of each */
|
||||
.repository .diff-file-box .code-diff table {
|
||||
table-layout: fixed;
|
||||
}
|
||||
|
||||
.repository .diff-file-box .code-diff tbody tr td.lines-num,
|
||||
.repository .diff-file-box .code-diff tbody tr td.lines-escape,
|
||||
.repository .diff-file-box .code-diff tbody tr td.lines-type-marker {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.repository .diff-file-box .code-diff tbody tr td.center {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue