Skip to content

Commit

Permalink
Fix:the rounded corners of the folded file are not displayed correctly (
Browse files Browse the repository at this point in the history
  • Loading branch information
HEREYUA and silverwind authored Mar 29, 2024
1 parent 59d4aad commit c9068ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web_src/css/modules/segment.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit c9068ef

Please sign in to comment.