diff --git a/web_src/css/modules/segment.css b/web_src/css/modules/segment.css index 963b2209b..d4eaf633d 100644 --- a/web_src/css/modules/segment.css +++ b/web_src/css/modules/segment.css @@ -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);