Skip to content

Commit 3c73741

Browse files
zeripathwxiaoguang
andauthored
Ensure commit-statuses box is sized correctly in headers (#18538)
* Ensure commit-statuses box is sized correctly in headers When viewing commits as commits the commit-status box will be fixed at 30px in height due to being forced to be this size by a fomantic selector. This PR simply adds a few more selectors to force this to have height auto. Fix #18498 Signed-off-by: Andrew Thornton <[email protected]> * Update web_src/less/_repository.less Co-authored-by: wxiaoguang <[email protected]> Co-authored-by: wxiaoguang <[email protected]>
1 parent 319d191 commit 3c73741

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

web_src/less/_repository.less

+7
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@
44
// otherwise some part of the popup will be hidden by viewport boundary
55
max-height: 45vh;
66
max-width: 60vw;
7+
8+
& .ui.right {
9+
// Override `.ui.attached.header .right:not(.dropdown) height: 30px;` which would otherwise lead to
10+
// the status popup box having its height fixed at 30px. See https://github.com/go-gitea/gitea/issues/18498
11+
height: auto;
12+
}
13+
714
overflow: auto;
815
padding: 0;
916

0 commit comments

Comments
 (0)