Skip to content

Commit b1c331c

Browse files
silverwindlafriks
andauthored
Fix repo summary height (#10825)
Extracted the style that keeps the animation of the language bar in check. Fixes: #10754 Co-authored-by: Lauris BH <lauris@nix.lv>
1 parent e72c5cb commit b1c331c

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

web_src/less/_repository.less

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2181,9 +2181,6 @@
21812181
}
21822182

21832183
.repository-summary {
2184-
height: 48px;
2185-
overflow: hidden;
2186-
21872184
.segment.language-stats-details,
21882185
.segment.repository-summary {
21892186
border-top: none;
@@ -2795,3 +2792,9 @@ td.blob-excerpt {
27952792
.diff-file-box[data-folded="true"] .diff-file-header {
27962793
border-radius: .28571429rem !important;
27972794
}
2795+
2796+
/* prevent page shaking on language bar click */
2797+
.repository.file .repository-summary {
2798+
height: 48px;
2799+
overflow: hidden;
2800+
}

0 commit comments

Comments
 (0)