瀏覽代碼

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>
tags/v1.13.0-dev
silverwind 4 年之前
父節點
當前提交
b1c331c845
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 6 行新增3 行删除
  1. 6
    3
      web_src/less/_repository.less

+ 6
- 3
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;
}

Loading…
取消
儲存