Skip to content

Commit 0c20ef0

Browse files
committed
fix: conflicting styles
1 parent 051c6c1 commit 0c20ef0

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

platforms/metagram/src/lib/fragments/Drawer/Drawer.svelte

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,9 @@
7272
>
7373
{@render children?.()}
7474
</div>
75+
76+
<!-- <style>
77+
:global(.pane) {
78+
border-radius: 32px !important;
79+
}
80+
</style> -->

platforms/metagram/src/lib/fragments/Modal/Modal.svelte

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
bottom: { enabled: true, height: 250 }
3939
},
4040
initialBreak: 'bottom',
41+
cssClass: "modal",
4142
events: {
4243
onBackdropTap: () => dismiss()
4344
}
@@ -58,7 +59,7 @@
5859
</div>
5960

6061
<style>
61-
:global(.pane) {
62+
:global(.modal .pane) {
6263
width: 95% !important;
6364
max-height: 300px !important;
6465
min-height: 100px !important;

0 commit comments

Comments
 (0)