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(() => {
32
32
VPLocalNav: true ,
33
33
' has-sidebar' : hasSidebar .value ,
34
34
empty: ! hasLocalNav .value ,
35
- fixed: ! hasLocalNav .value && ! hasSidebar .value ,
35
+ fixed: ! hasLocalNav .value && ! hasSidebar .value
36
36
}
37
37
})
38
38
</script >
@@ -113,7 +113,6 @@ const classes = computed(() => {
113
113
.menu {
114
114
display : flex ;
115
115
align-items : center ;
116
- padding : 12px 24px 11px ;
117
116
line-height : 24px ;
118
117
font-size : 12px ;
119
118
font-weight : 500 ;
@@ -126,12 +125,6 @@ const classes = computed(() => {
126
125
transition : color 0.25s ;
127
126
}
128
127
129
- @media (min-width : 768px ) {
130
- .menu {
131
- padding : 0 32px ;
132
- }
133
- }
134
-
135
128
@media (min-width : 960px ) {
136
129
.menu {
137
130
display : none ;
@@ -143,12 +136,14 @@ const classes = computed(() => {
143
136
font-size : 14px ;
144
137
}
145
138
146
- .VPOutlineDropdown {
139
+ .menu ,
140
+ :deep(.VPLocalNavOutlineDropdown > button ) {
147
141
padding : 12px 24px 11px ;
148
142
}
149
143
150
144
@media (min-width : 768px ) {
151
- .VPOutlineDropdown {
145
+ .menu ,
146
+ :deep(.VPLocalNavOutlineDropdown > button ) {
152
147
padding : 12px 32px 11px ;
153
148
}
154
149
}
Original file line number Diff line number Diff line change @@ -92,16 +92,6 @@ function scrollToTop() {
92
92
</template >
93
93
94
94
<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
-
105
95
.VPLocalNavOutlineDropdown button {
106
96
display : block ;
107
97
font-size : 12px ;
You can’t perform that action at this time.
0 commit comments