chore(VPSidebarItem): fix regression: active collapsible has indicator

pull/3806/head
Henry Bley-Vroman 1 year ago
parent 91fd45c5e2
commit b96cc8fd12

@ -126,6 +126,7 @@ const classes = computed(() => [
cursor: pointer; cursor: pointer;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
position: relative;
} }
.VPSidebarItem details summary .link { .VPSidebarItem details summary .link {
@ -151,8 +152,8 @@ const classes = computed(() => [
transition: background-color 0.25s; transition: background-color 0.25s;
} }
.VPSidebarItem:is(.level-2, .level-3, .level-4, .level-5).is-active > .item > .indicator,
.VPSidebarItem:is(.level-2, .level-3, .level-4, .level-5).is-active > .item > .indicator { .VPSidebarItem:is(.level-2, .level-3, .level-4, .level-5).is-active > details > summary .indicator {
background-color: var(--vp-c-brand-1); background-color: var(--vp-c-brand-1);
} }

Loading…
Cancel
Save