Add responsive for buttons

This commit is contained in:
2021-10-16 15:42:30 +02:00
parent 90a4be5b4d
commit 60ea3d2cb1

View File

@@ -1,15 +1,21 @@
.button {
display: inline-flex;
align-items: center;
height: 48px;
padding: 0 24px;
height: 40px;
padding: 0 12px;
background: #fff;
font: 900 #{rem(18px)}/1 $font-sans;
font: 900 #{rem(16px)}/1 $font-sans;
color: $color-text;
border-radius: 100vh;
border: none;
text-decoration: none;
@include bp (sm) {
height: 48px;
padding: 1px 16px 0;
font-size: rem(18px);
}
// Icon
img, svg {
display: block;
@@ -21,6 +27,11 @@
&--small {
height: 40px;
padding: 0 16px;
@include bp (sm) {
height: 40px;
padding: 0 16px;
}
}
// Color Variants