mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-28 16:47:01 +09:00
Improve file header on mobile (#19945)
- File headers can become quite width, so ensure the file size is not being wrapped into itself(width + padding-right) and allow the overflow to be scrolled(overflow-x).
This commit is contained in:
1 parent
edf14202fe
commit
0097fbc2ac
2 files changed
+4
-2
No files matched your search
@@ -3048,9 +3048,10 @@ td.blob-excerpt {
|
||||
}
|
||||
|
||||
.file-header {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
overflow-x: scroll;
|
||||
padding: 8px 12px !important;
|
||||
}
|
||||
|
||||
@@ -3062,6 +3063,7 @@ td.blob-excerpt {
|
||||
.file-info-entry {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
width: max-content;
|
||||
}
|
||||
|
||||
.file-info-entry + .file-info-entry {
|
||||
|
||||
Reference in new issue
Block a user