File tree Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Original file line number Diff line number Diff line change @@ -242,18 +242,8 @@ label:has([type="checkbox"]) {
242242 }
243243 }
244244}
245- @keyframes fade-in {
246- from {
247- opacity : 0 ;
248- transform : translateY (-15% );
249- }
250- to {
251- opacity : 1 ;
252- transform : translateY (0% );
253- }
254- }
255245dialog {
256- position : fixed ;
246+ left : 50 % ;
257247 width : 100% ;
258248 max-width : 25rem ;
259249 max-height : 85 dvh;
@@ -262,11 +252,12 @@ dialog {
262252 background-color : var (--background );
263253 border : 1px solid var (--base-dimmed );
264254 border-radius : 0.25rem ;
255+ transform : translateX (-50% );
265256 & ::backdrop {
266257 background-color : rgba (0 0 0 / 35% )
267258 }
268- & [open ] {
269- animation : fade - in .3 s ease ;
259+ & :not ( [open ]) {
260+ pointer-events : none ;
270261 }
271262 & .invalid {
272263 border-color : var (--negative );
You can’t perform that action at this time.
0 commit comments