Skip to content

Commit a3a46ee

Browse files
committed
Update SimpleBar height and layout styles across the editor and UI components
1 parent e839c5f commit a3a46ee

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

‎apps/editor/src/views/panel/frontend/Panel.module.scss‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@
2424
display: none;
2525
}
2626

27-
[data-simplebar='init'] {
28-
height: 100%;
27+
:global {
28+
.simplebar-content-wrapper {
29+
display: flex;
30+
}
2931
}
3032
}
3133

‎packages/ui/src/components/editor/common/Scrollable/Scrollable.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export const Scrollable = forwardRef<any, Props>((props, ref) => {
101101
<SimpleBar
102102
ref={simplebar_ref}
103103
style={{
104-
// height: '100%',
104+
height: '100%',
105105
maxHeight: props.max_height
106106
}}
107107
>

‎packages/ui/src/styles/global.scss‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ strong {
6060
}
6161

6262
.simplebar-content {
63-
height: 100%;
63+
width: 100%;
6464
}
6565

6666
.simplebar-scrollable-y {

0 commit comments

Comments
 (0)