Skip to content

Commit

Permalink
fix(theme): change the order of CSS rules of VPFlyout (#4225)
Browse files Browse the repository at this point in the history
close #4224
  • Loading branch information
BeiyanYunyi committed Sep 23, 2024
1 parent 2d0c499 commit 68150a6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/client/theme-default/components/VPFlyout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -78,19 +78,19 @@ function onBlur() {
color: var(--vp-c-brand-2);
}
.button[aria-expanded="false"] + .menu {
opacity: 0;
visibility: hidden;
transform: translateY(0);
}
.VPFlyout:hover .menu,
.button[aria-expanded="true"] + .menu {
opacity: 1;
visibility: visible;
transform: translateY(0);
}
.button[aria-expanded="false"] + .menu {
opacity: 0;
visibility: hidden;
transform: translateY(0);
}
.button {
display: flex;
align-items: center;
Expand Down

0 comments on commit 68150a6

Please sign in to comment.