Skip to content

Commit 18f9e2c

Browse files
authored
Center modal overflow fix (#214)
1 parent 37f208a commit 18f9e2c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/invoice-dashboard/src/lib/dashboard/drawer.svelte

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,11 @@
5050
left: 50%;
5151
height: fit-content;
5252
width: 800px;
53-
53+
max-height: 90vh;
54+
overflow-y: auto;
55+
overflow-x: hidden;
5456
transform: translateX(0);
57+
padding-right: 20px;
5558
}
5659
5760
@media only screen and (max-width: 880px) {

0 commit comments

Comments
 (0)