Skip to content

Commit c9a7ca4

Browse files
committed
fix: fixed css so modal doesn't grow with viewport
1 parent d56dfbb commit c9a7ca4

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

assets/css/udoit4-theme.css

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -549,12 +549,13 @@
549549
box-shadow: 0 0 10px var(--shadow-color);
550550

551551
&.dialog-full-screen {
552-
width: 95vw;
553-
max-width: 95vw;
554-
height: 95vh;
555-
max-height: 95vh;
556-
position: fixed;
557-
top: 2vh;
552+
width: 95%;
553+
max-width: 95%;
554+
height: 95%;
555+
max-height: 95%;
556+
position: absolute;
557+
top: 2.5%;
558+
left: 2.5%;
558559
}
559560

560561
&::before {

0 commit comments

Comments
 (0)