File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed
src/.vitepress/theme/components Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ function useToggleFn(
118
118
119
119
.vt-link-icon {
120
120
position : relative ;
121
- top : 2 px ;
121
+ top : 1 px ;
122
122
}
123
123
124
124
#preference-switches {
@@ -140,7 +140,8 @@ function useToggleFn(
140
140
}
141
141
142
142
.vt-switch {
143
- margin-right : 12px ;
143
+ margin-right : 5px ;
144
+ transform : scale (0.8 );
144
145
}
145
146
146
147
.switch-container label {
@@ -149,7 +150,7 @@ function useToggleFn(
149
150
}
150
151
151
152
.switch-container label :first-child {
152
- width : 56 px ;
153
+ width : 50 px ;
153
154
}
154
155
155
156
.switch-link {
@@ -163,6 +164,16 @@ function useToggleFn(
163
164
border : 1px solid var (--vt-c-green );
164
165
border-radius : 50% ;
165
166
}
167
+
168
+ @media (max-width : 1440px ) {
169
+ #preference-switches {
170
+ font-size : 11px ;
171
+ padding : 8px 12px ;
172
+ }
173
+ .switch-container label :first-child {
174
+ width : 46px ;
175
+ }
176
+ }
166
177
</style >
167
178
168
179
<style >
You can’t perform that action at this time.
0 commit comments