Skip to content

Commit 1b71a8f

Browse files
committed
Move smooth scrolling rule to container and replace section margins with padding
1 parent 41e8722 commit 1b71a8f

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

‎packages/ui/src/components/editor/settings/Layout/Layout.module.scss‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@
77
@media (min-width: 770px) {
88
--sidebar-width: 180px;
99
}
10-
11-
[data-simplebar]:not(.simplebar-dragging) .simplebar-content-wrapper {
12-
scroll-behavior: smooth;
13-
}
1410
}
1511

1612
.sidebar {

‎packages/ui/src/components/editor/settings/Section/Section.module.scss‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
display: flex;
44
flex-direction: column;
55
gap: 16px;
6-
margin-bottom: 20px;
6+
padding-bottom: 20px;
77

88
&:last-child {
9-
margin-bottom: 20vh;
9+
padding-bottom: 20vh;
1010
}
1111
}
1212

0 commit comments

Comments
 (0)