diff --git a/web_src/css/modules/segment.css b/web_src/css/modules/segment.css index 8bdd25bfe74..bbd39c385fe 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; }