소스 검색

fix: positioned bytmdialog padding

Sv443 4 달 전
부모
커밋
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 {