Fix:the rounded corners of the folded file are not displayed correctly (#29953)
Fix: [#29933](https://github.com/go-gitea/gitea/issues/29933)
**Before**

**After**

---------
Co-authored-by: silverwind <me@silverwind.io>
Conflicts:
- web_src/css/modules/segment.css
Ported by adding the new selector with a larger radius,
keeping the existing one with ours.
(cherry picked from commit 43122ca984
)
This commit is contained in:
parent
c98d61710e
commit
b912e26e5f
|
@ -72,6 +72,9 @@
|
|||
.ui.segments:not(.horizontal) > .segment:only-child {
|
||||
border-radius: 0.214285717rem;
|
||||
}
|
||||
.ui.segments:not(.horizontal) > .segment:has(~ .tw-hidden) { /* workaround issue with :last-child ignoring hidden elements */
|
||||
border-radius: 0.28571429rem;
|
||||
}
|
||||
|
||||
.ui.segments > .ui.segments {
|
||||
border-top: 1px solid var(--color-secondary);
|
||||
|
|
Loading…
Reference in New Issue