Skip to content

Commit 7e865e8

Browse files
committed
Change aside style
1 parent b6fc6ee commit 7e865e8

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/App.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,6 @@ function handleAction(actionType: ActionType) {
291291
left: 0;
292292
width: 100%;
293293
height: 100%;
294-
overflow: hidden;
295294
296295
@mixin gradient-style($color) {
297296
position: absolute;

src/components/Configurator.vue

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,10 @@ function setWidgetColor(widgetType: WidgetType, fillColor: string) {
212212
.configurator-scroll {
213213
width: var.$layout-sider-width;
214214
height: 100%;
215-
background-color: var.$color-configurator;
215+
216+
@media screen and (max-width: var.$screen-lg) {
217+
background-color: var.$color-configurator;
218+
}
216219
}
217220
218221
.configurator {
@@ -360,7 +363,7 @@ function setWidgetColor(widgetType: WidgetType, fillColor: string) {
360363
}
361364
362365
&:hover {
363-
background-color: darken(var.$color-configurator, 3);
366+
background-color: lighten(var.$color-configurator, 0);
364367
}
365368
366369
& > :deep(svg) {

src/layouts/Sider.vue

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,8 @@ const { isCollapsed, openSider, closeSider } = useSider()
2626
height: 100%;
2727
2828
@media (prefers-reduced-motion: no-preference) {
29-
& {
30-
transition: transform 0.2s;
31-
will-change: transform;
32-
}
29+
transition: transform 0.2s;
30+
will-change: transform;
3331
}
3432
3533
.icon-right {

0 commit comments

Comments
 (0)