diff options
author | silverwind <me@silverwind.io> | 2020-03-25 23:58:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-25 22:58:25 +0000 |
commit | b1c331c84596f73aeab60178daf92f3539e026b9 (patch) | |
tree | 6f840fbaeb537e06bf165742ca191d1c0c5eaa16 /web_src | |
parent | e72c5cb02a235d79d6dd4fd96a8da85838ce7d9f (diff) | |
download | gitea-b1c331c84596f73aeab60178daf92f3539e026b9.tar.gz gitea-b1c331c84596f73aeab60178daf92f3539e026b9.zip |
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>
Diffstat (limited to 'web_src')
-rw-r--r-- | web_src/less/_repository.less | 9 |
1 files 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; +} |