diff --git a/resources/skins.citizen.styles/components/TableOfContents.less b/resources/skins.citizen.styles/components/TableOfContents.less index 3ef90690..2dacca69 100644 --- a/resources/skins.citizen.styles/components/TableOfContents.less +++ b/resources/skins.citizen.styles/components/TableOfContents.less @@ -123,10 +123,6 @@ } .citizen-dropdown { - &-details[ open ] + .citizen-menu__card { - pointer-events: auto; // HACK: Make ToC clickable after ToC is expanded - } - &-summary { position: absolute; bottom: 0; @@ -150,6 +146,16 @@ background: ~'linear-gradient( var( --background-color-button-quiet--active ), var( --background-color-button-quiet--active ) ) var( --color-surface-1 )'; } } + + &-details[ open ] { + + .citizen-menu__card { + pointer-events: auto; // HACK: Make ToC clickable after ToC is expanded + } + + > .citizen-dropdown-summary { + background: ~'linear-gradient( var( --background-color-button-quiet--active ), var( --background-color-button-quiet--active ) ) var( --color-surface-1 )'; + } + } } } }