Skip to content

Commit 79dbf7f

Browse files
fix: extra space when adding popup close btn
1 parent 4845bf4 commit 79dbf7f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/blocks/blocks/popup/style.scss

+5
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,10 @@ $base-index: 99999 !default;
116116

117117
}
118118

119+
.otter-popup__modal_header + .otter-popup__modal_body {
120+
margin-top: -40px;
121+
}
122+
119123
.otter-popup__modal_body > * {
120124
max-width: 100%;
121125
}
@@ -138,6 +142,7 @@ $base-index: 99999 !default;
138142
padding: 0 !important;
139143
border: none;
140144
cursor: pointer;
145+
z-index: 2;
141146

142147
&:hover {
143148
opacity: .75;

0 commit comments

Comments
 (0)