mirror of
https://codeberg.org/davrot/forgejo.git
synced 2025-05-23 14:00:03 +02:00
Backport #23321 Close #23248 The UI after this PR: https://user-images.githubusercontent.com/17645053/223009758-7f0c9f12-d346-4cb2-a605-729fddce732f.mov Co-authored-by: Hester Gong <hestergong@gmail.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
parent
61f91bdc7e
commit
6be6c19daf
2 changed files with 19 additions and 4 deletions
|
@ -1663,8 +1663,14 @@
|
|||
align-items: center;
|
||||
|
||||
.file {
|
||||
flex: 1;
|
||||
word-break: break-all;
|
||||
min-width: 0;
|
||||
.file-link {
|
||||
max-width: fit-content;
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 2;
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
.button {
|
||||
|
@ -3276,6 +3282,15 @@ td.blob-excerpt {
|
|||
position: static;
|
||||
}
|
||||
}
|
||||
|
||||
.diff-file-header-actions {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.diff-file-name {
|
||||
flex: auto;
|
||||
min-width: 100px;
|
||||
}
|
||||
}
|
||||
|
||||
.diff-file-body {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue