Skip to content

Commit

Permalink
Changes the padding on Mobile for buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
mghenciu committed Jul 20, 2023
1 parent e66bdb4 commit 943a52c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions assets/css/src/common/_generic.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@custom-media --mobile (max-width: 481px);

* {
box-sizing: border-box;
}
Expand Down Expand Up @@ -76,4 +78,15 @@ body .wp-block-button.is-style-outline > .wp-block-button__link,
body .wp-block-button .wp-block-button__link.is-style-outline {
border: 2px solid;
padding: 16px 40px;

@media (--mobile) {
padding: 16px 20px;
}
}

body .wp-block-button .wp-block-button__link {

@media (--mobile) {
padding: 16px 20px;
}
}

0 comments on commit 943a52c

Please sign in to comment.