Skip to content

Commit 9996695

Browse files
committed
refactor: remove Modal component and update styles
- Deleted the Modal component and its associated styles to streamline the codebase. - Updated AuthDialog.scss to include necessary styles for the authentication modal. - Enhanced index.scss with new styles for fullscreen dialogs and modal backgrounds.
1 parent 73beab2 commit 9996695

File tree

4 files changed

+21
-239
lines changed

4 files changed

+21
-239
lines changed

src/frontend/src/styles/AuthDialog.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* Auth Modal Styles */
2-
@import './Modal.scss';
32

43
.auth-modal {
4+
55
&__title-container {
66
display: flex;
77
align-items: center;

src/frontend/src/styles/Modal.scss

Lines changed: 0 additions & 141 deletions
This file was deleted.

src/frontend/src/styles/index.scss

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,23 @@ body {
5454
margin-left: 11px !important;
5555
font-size: 15px !important;
5656
}
57+
58+
.excalidraw .Dialog--fullscreen {
59+
.Dialog__close {
60+
display: none;
61+
}
62+
}
63+
64+
.excalidraw .Modal__background {
65+
background-color: rgba(0, 0, 0, 0.2);
66+
backdrop-filter: blur(1px);
67+
animation: Modal__background__fade-in 0.3s ease-out forwards !important;
68+
69+
&.animations-disabled {
70+
animation: none !important;
71+
}
72+
}
73+
74+
.excalidraw .Modal__content {
75+
animation: Modal__content_fade-in 0.3s ease-out forwards !important;
76+
}

src/frontend/src/ui/Modal.tsx

Lines changed: 0 additions & 97 deletions
This file was deleted.

0 commit comments

Comments
 (0)