File tree Expand file tree Collapse file tree 2 files changed +5
-20
lines changed
src/client/theme-default/components Expand file tree Collapse file tree 2 files changed +5
-20
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ const classes = computed(() => {
3232 VPLocalNav: true ,
3333 ' has-sidebar' : hasSidebar .value ,
3434 empty: ! hasLocalNav .value ,
35- fixed: ! hasLocalNav .value && ! hasSidebar .value ,
35+ fixed: ! hasLocalNav .value && ! hasSidebar .value
3636 }
3737})
3838 </script >
@@ -113,7 +113,6 @@ const classes = computed(() => {
113113.menu {
114114 display : flex ;
115115 align-items : center ;
116- padding : 12px 24px 11px ;
117116 line-height : 24px ;
118117 font-size : 12px ;
119118 font-weight : 500 ;
@@ -126,12 +125,6 @@ const classes = computed(() => {
126125 transition : color 0.25s ;
127126}
128127
129- @media (min-width : 768px ) {
130- .menu {
131- padding : 0 32px ;
132- }
133- }
134-
135128@media (min-width : 960px ) {
136129 .menu {
137130 display : none ;
@@ -143,12 +136,14 @@ const classes = computed(() => {
143136 font-size : 14px ;
144137}
145138
146- .VPOutlineDropdown {
139+ .menu ,
140+ :deep(.VPLocalNavOutlineDropdown > button ) {
147141 padding : 12px 24px 11px ;
148142}
149143
150144@media (min-width : 768px ) {
151- .VPOutlineDropdown {
145+ .menu ,
146+ :deep(.VPLocalNavOutlineDropdown > button ) {
152147 padding : 12px 32px 11px ;
153148 }
154149}
Original file line number Diff line number Diff line change @@ -92,16 +92,6 @@ function scrollToTop() {
9292</template >
9393
9494<style scoped>
95- .VPLocalNavOutlineDropdown {
96- padding : 12px 20px 11px ;
97- }
98-
99- @media (min-width : 960px ) {
100- .VPLocalNavOutlineDropdown {
101- padding : 12px 36px 11px ;
102- }
103- }
104-
10595.VPLocalNavOutlineDropdown button {
10696 display : block ;
10797 font-size : 12px ;
You can’t perform that action at this time.
0 commit comments