Skip to content

Commit 146fd29

Browse files
committed
[#3434] Remove left padding on overlay close button
Adjusted the CSS to remove the extra left padding on the close button. This ensures that the active box is centered around the 'X' when clicked. - Removed left padding value from the padding property - Verified alignment in both desktop and responsive view
1 parent 3fa5d95 commit 146fd29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/styles/components/_overlay.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161

6262
.overlay__close-button {
6363
@include icon();
64-
padding: #{math.div(3, $base-font-size)}rem 0 #{math.div(3, $base-font-size)}rem #{math.div(10, $base-font-size)}rem;
64+
padding: #{math.div(3, $base-font-size)}rem 0 #{math.div(3, $base-font-size)}rem;
6565
}
6666

6767
/* Fixed height overlay */

0 commit comments

Comments
 (0)