diff options
author | HEREYUA <37935145+HEREYUA@users.noreply.github.com> | 2024-03-29 23:39:46 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-29 15:39:46 +0000 |
commit | c9068ef9e410deefa1c3877daf6dfc3c5000fb17 (patch) | |
tree | 9a0596c70dc1f840da97b49fc1477b93048f5256 /web_src/css/modules | |
parent | 59d4aadba5c15d02f3b9f0e61abb7476870c20a5 (diff) | |
download | gitea-c9068ef9e410deefa1c3877daf6dfc3c5000fb17.tar.gz gitea-c9068ef9e410deefa1c3877daf6dfc3c5000fb17.zip |
Fix:the rounded corners of the folded file are not displayed correctly (#29953)
Fix: [#29933](https://github.com/go-gitea/gitea/issues/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 <me@silverwind.io>
Diffstat (limited to 'web_src/css/modules')
-rw-r--r-- | web_src/css/modules/segment.css | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/web_src/css/modules/segment.css b/web_src/css/modules/segment.css index 8bdd25bfe7..bbd39c385f 100644 --- a/web_src/css/modules/segment.css +++ b/web_src/css/modules/segment.css @@ -69,7 +69,8 @@ border-radius: 0 0 0.28571429rem 0.28571429rem; } -.ui.segments:not(.horizontal) > .segment:only-child { +.ui.segments:not(.horizontal) > .segment:only-child, +.ui.segments:not(.horizontal) > .segment:has(~ .tw-hidden) { /* workaround issue with :last-child ignoring hidden elements */ border-radius: 0.28571429rem; } |