Procházet zdrojové kódy

fix: positioned bytmdialog padding

Sv443 před 4 měsíci
rodič
revize
439d37b33c
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      src/components/BytmDialog.css

+ 2 - 2
src/components/BytmDialog.css

@@ -36,12 +36,12 @@
 
 .bytm-dialog.align-top {
   top: 0;
-  transform: translate(-50%, 40px);
+  transform: translate(-50%, 20px);
 }
 
 .bytm-dialog.align-bottom {
   top: 100%;
-  transform: translate(-50%, -100%);
+  transform: translate(-50%, calc(-100% - 20px));
 }
 
 .bytm-dialog-body {