0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-14 22:11:32 +01:00

Fix repo summary height (#10825)

Extracted the style that keeps the animation of the language bar in
check.

Fixes: https://github.com/go-gitea/gitea/issues/10754

Co-authored-by: Lauris BH <lauris@nix.lv>
This commit is contained in:
silverwind 2020-03-25 23:58:25 +01:00 committed by GitHub
parent e72c5cb02a
commit b1c331c845
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2181,9 +2181,6 @@
} }
.repository-summary { .repository-summary {
height: 48px;
overflow: hidden;
.segment.language-stats-details, .segment.language-stats-details,
.segment.repository-summary { .segment.repository-summary {
border-top: none; border-top: none;
@ -2795,3 +2792,9 @@ td.blob-excerpt {
.diff-file-box[data-folded="true"] .diff-file-header { .diff-file-box[data-folded="true"] .diff-file-header {
border-radius: .28571429rem !important; border-radius: .28571429rem !important;
} }
/* prevent page shaking on language bar click */
.repository.file .repository-summary {
height: 48px;
overflow: hidden;
}