diff options
Diffstat (limited to 'web_src/less/_repository.less')
-rw-r--r-- | web_src/less/_repository.less | 36 |
1 files changed, 29 insertions, 7 deletions
diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less index 4862e3096..2c47135a2 100644 --- a/web_src/less/_repository.less +++ b/web_src/less/_repository.less @@ -952,8 +952,15 @@ margin-top: 4px; } - .comment-form-reply .footer { - padding-bottom: 1em; + .comparebox { + line-height: 32px; + vertical-align: middle; + + .compare.label { + font-size: 1rem; + margin: 0; + border: 1px solid var(--color-light-border); + } } @media @mediaSm { @@ -1663,8 +1670,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 { @@ -2863,7 +2876,7 @@ } .repo-button-row > * { - margin-top: 10px; + margin-top: 8px; } .wiki .repo-button-row { @@ -3250,8 +3263,8 @@ td.blob-excerpt { } .sidebar-item-link { - display: inline-flex; align-items: center; + word-break: break-all; } .diff-file-box[data-folded="true"] .diff-file-body { @@ -3271,11 +3284,20 @@ td.blob-excerpt { position: sticky; top: 77px; z-index: 7; - + @media (max-width: 480px) { position: static; } } + + .diff-file-header-actions { + flex-shrink: 0; + } + + .diff-file-name { + flex: auto; + min-width: 100px; + } } .diff-file-body { |