Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: replace slow performing CSS selectors #2968

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
bruno-sch marked this conversation as resolved.
Show resolved Hide resolved
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 2 additions & 11 deletions packages/components/src/components/navigation/navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -80,20 +80,11 @@
}
}
}
}

&:has([aria-current="page"]),
> .db-navigation-item {
&[aria-current="page"] {
@extend %show-db-puls-auto;
nmerget marked this conversation as resolved.
Show resolved Hide resolved

menu {
// hide puls for non navigation items
:has([aria-current="page"]),
[aria-current="page"] {
&::after {
display: none;
}
}
}
}
}
}
Expand Down
Loading