mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-17 11:59:30 +00:00
add file line count info on UI (#8396)
Also reworked the header to remove the filename (which is redundant with the file path above) and made the header a flexbox with a monospace font. Fixes: https://github.com/go-gitea/gitea/issues/8170
This commit is contained in:
parent
51fade4c44
commit
08896cd9f6
5 changed files with 69 additions and 43 deletions
|
@ -371,9 +371,7 @@
|
|||
}
|
||||
|
||||
.file-actions {
|
||||
margin-top: 0;
|
||||
margin-bottom: -5px;
|
||||
padding-left: 20px;
|
||||
|
||||
.btn-octicon {
|
||||
display: inline-block;
|
||||
|
@ -2385,3 +2383,21 @@ tbody.commit-list {
|
|||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
}
|
||||
|
||||
.file-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 8px 12px !important;
|
||||
}
|
||||
|
||||
.file-info {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.file-info-entry + .file-info-entry {
|
||||
border-left: 1px solid currentColor;
|
||||
margin-left: 8px;
|
||||
padding-left: 8px;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue