Skip to content

Commit

Permalink
refactor: simplify sidebar guide css selector
Browse files Browse the repository at this point in the history
  • Loading branch information
HiDeoo committed Sep 27, 2023
1 parent cffb558 commit 501b9de
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/src/components/sidebar-preview.astro
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ function makeEntries(items: SidebarConfig): SidebarEntry[] {
mask-repeat: no-repeat;
}

:global(.sidebar-preview-external-link:hover::after),
:global(.sidebar-preview-external-link:focus::after) {
:global(.sidebar-preview-external-link:is(:hover, :focus)::after) {
background-color: var(--sl-color-white);
}
</style>

0 comments on commit 501b9de

Please sign in to comment.