mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-08-01 17:38:33 +00: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:
parent
edf14202fe
commit
0097fbc2ac
2 changed files with 4 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
<div class="{{TabSizeClass .Editorconfig .FileName}} non-diff-file-content">
|
||||
<h4 class="file-header ui top attached header df ac sb">
|
||||
<div class="file-header-left df ac">
|
||||
<div class="file-header-left df ac pr-4">
|
||||
{{if .ReadmeInList}}
|
||||
{{svg "octicon-book" 16 "mr-3"}}
|
||||
<strong>{{.FileName}}</strong>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue