Skip to content

Commit 5e00fa7

Browse files
HEREYUAsilverwind
authored andcommitted
Fix:the rounded corners of the folded file are not displayed correctly (go-gitea#29953)
Fix: [go-gitea#29933](go-gitea#29933) **Before** ![image](https://github.com/go-gitea/gitea/assets/37935145/71ec80f6-5896-4e4a-b686-4d792c11ebe2) **After** ![image](https://github.com/go-gitea/gitea/assets/37935145/81348a61-946a-4562-881d-8d873e50228f) --------- Co-authored-by: silverwind <[email protected]>
1 parent 40cdc84 commit 5e00fa7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

web_src/css/modules/segment.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@
6969
border-radius: 0 0 0.28571429rem 0.28571429rem;
7070
}
7171

72-
.ui.segments:not(.horizontal) > .segment:only-child {
72+
.ui.segments:not(.horizontal) > .segment:only-child,
73+
.ui.segments:not(.horizontal) > .segment:has(~ .tw-hidden) { /* workaround issue with :last-child ignoring hidden elements */
7374
border-radius: 0.28571429rem;
7475
}
7576

0 commit comments

Comments
 (0)