Skip to content

Commit 012cf65

Browse files
fix close icon
Signed-off-by: Rajesh-Nagarajan-11 <rajeshnagarajan36@gmail.com>
1 parent 16782fa commit 012cf65

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

assets/scss/_kanvas-corner-popup.scss

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@
6767

6868
.kanvas-corner-popup .close-btn {
6969
position: absolute;
70-
top: 0;
71-
right: 0;
70+
top: 0.5rem;
71+
right: 0.5rem;
7272
background: none;
7373
border: none;
7474
padding: 0;
@@ -79,6 +79,21 @@
7979
&:hover {
8080
opacity: 0.7;
8181
}
82+
83+
svg {
84+
width: 26px;
85+
height: 26px;
86+
}
87+
88+
@media (max-width: 640px) {
89+
top: 0.30rem;
90+
right: 0.45rem;
91+
92+
svg {
93+
width: 20px;
94+
height: 20px;
95+
}
96+
}
8297
}
8398

8499
.kanvas-corner-popup .popup-content-link {

0 commit comments

Comments
 (0)