mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-25 05:17:12 +00:00
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:
1 parent
d93f3222a5
commit
d149093ce3
7 files changed
+33
-38
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user