Просмотр исходного кода

fix: positioned bytmdialog padding

Sv443 4 месяцев назад
Родитель
Сommit
439d37b33c
1 измененных файлов с 2 добавлено и 2 удалено
  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 {