diff options
author | Gusted <williamzijl7@hotmail.com> | 2022-06-12 11:30:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-12 12:30:22 +0300 |
commit | 0097fbc2ac153a686b68af43e791704e9b5cf74b (patch) | |
tree | 9063edb81fdf53217063376a7f0bde643314e08a /web_src/less | |
parent | edf14202fea349500d69ed2a360a53cc0d1f80e3 (diff) | |
download | gitea-0097fbc2ac153a686b68af43e791704e9b5cf74b.tar.gz gitea-0097fbc2ac153a686b68af43e791704e9b5cf74b.zip |
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).
Diffstat (limited to 'web_src/less')
-rw-r--r-- | web_src/less/_repository.less | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less index 37a5017fbd..2686c0d280 100644 --- a/web_src/less/_repository.less +++ b/web_src/less/_repository.less @@ -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 { |