From b1c331c84596f73aeab60178daf92f3539e026b9 Mon Sep 17 00:00:00 2001 From: silverwind Date: Wed, 25 Mar 2020 23:58:25 +0100 Subject: [PATCH] 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 --- web_src/less/_repository.less | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less index f570bcd7fd..bc7344ba0b 100644 --- a/web_src/less/_repository.less +++ b/web_src/less/_repository.less @@ -2181,9 +2181,6 @@ } .repository-summary { - height: 48px; - overflow: hidden; - .segment.language-stats-details, .segment.repository-summary { border-top: none; @@ -2795,3 +2792,9 @@ td.blob-excerpt { .diff-file-box[data-folded="true"] .diff-file-header { border-radius: .28571429rem !important; } + +/* prevent page shaking on language bar click */ +.repository.file .repository-summary { + height: 48px; + overflow: hidden; +}