Skip to content

Commit

Permalink
refactor(VPSidebarItem): no css nesting [pr vuejs#3806]
Browse files Browse the repository at this point in the history
  • Loading branch information
olets committed Apr 18, 2024
1 parent d6e2e79 commit dc9c636
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions src/client/theme-default/components/VPSidebarItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -126,18 +126,19 @@ const classes = computed(() => [
cursor: pointer;
display: flex;
justify-content: space-between;
}
.link {
flex-grow: 0;
}
.VPSidebarItem details summary .link {
flex-grow: 0;
}
&::-webkit-details-marker {
display: none;
}
.VPSidebarItem details summary::-webkit-details-marker {
display: none;
}
&::marker {
content: '';
}
.VPSidebarItem details summary::marker {
content: '';
}
.indicator {
Expand Down

0 comments on commit dc9c636

Please sign in to comment.