File tree 1 file changed +16
-1
lines changed
src/frontend/components/UI/Dialog
1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change 24
24
opacity 500ms ,
25
25
transform 500ms ;
26
26
max-width : min (700px , 85vw );
27
+ max-height : 95vh ;
28
+
29
+ & img {
30
+ max-width : 100% ;
31
+ }
27
32
}
28
33
.Dialog__element ::backdrop {
29
34
background : rgba (0 , 0 , 0 , 0.4 );
37
42
38
43
.Dialog__header {
39
44
display : flex;
45
+ z-index : 1 ;
46
+ padding-bottom : var (--dialog-gap );
40
47
}
41
48
42
49
.Dialog__headerTitle {
49
56
50
57
.Dialog__Close {
51
58
padding : 0 var (--dialog-margin-horizontal ) 0 0 ;
59
+ z-index : 2 ;
60
+ }
61
+
62
+ .Dialog__Close ,
63
+ .Dialog__header {
64
+ position : sticky;
65
+ top : 0px ;
66
+ background : var (--modal-background );
52
67
}
53
68
54
69
.Dialog__CloseButton {
83
98
}
84
99
85
100
.Dialog__content {
86
- padding : var (--dialog-gap ) var (--dialog-margin-horizontal );
101
+ padding : 0 var (--dialog-margin-horizontal ) var (--dialog-gap );
87
102
}
88
103
89
104
.Dialog__footer {
You can’t perform that action at this time.
0 commit comments