瀏覽代碼

Use flex wrap to layout the PR update button (#29590)

Follow #29418

I think using "flex-wrap: wrap" here is better than hard-coding the screen width.

By using "flex-wrap: wrap", the UI layouts automatically for various
widths (even if in some languages, the sentence might be pretty long)
tags/v1.22.0-rc0
wxiaoguang 3 月之前
父節點
當前提交
ade6241691
No account linked to committer's email address
共有 1 個文件被更改,包括 2 次插入9 次删除
  1. 2
    9
      web_src/css/repo.css

+ 2
- 9
web_src/css/repo.css 查看文件

@@ -935,18 +935,11 @@

.repository.view.issue .comment-list .comment .merge-section .item-section {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
padding: 0;
margin-top: -0.25rem;
margin-bottom: -0.25rem;
}

@media (max-width: 991.98px) {
.repository.view.issue .comment-list .comment .merge-section .item-section {
align-items: flex-start;
flex-direction: column;
}
gap: 0.5em;
}

.repository.view.issue .comment-list .comment .merge-section .divider {

Loading…
取消
儲存