Use rem instead of px or em

This commit is contained in:
Luis Ramos
2020-05-08 10:32:19 +01:00
parent 38bc076c77
commit edaf419857
4 changed files with 3 additions and 5 deletions

View File

@@ -20,7 +20,7 @@
a {
border: 1px solid $grey-300;
font-weight: normal;
padding: 0.2em 0.625em;
padding: 0.15rem 0.5rem;
}
span {

View File

@@ -4,7 +4,6 @@
.product-img {
padding: 5px;
margin-bottom: 10px;
// placeholder for when no product images
&.placeholder {
@@ -17,7 +16,6 @@
@media only screen and (max-width: 1024px) {
margin-top: 0;
margin-bottom: 1em;
padding: 5px;
}
}

View File

@@ -27,7 +27,7 @@ dialog
// Medium and up - larger outside area
@media only screen and (min-width: 641px) {
border-bottom: 30px solid white;
border-bottom: 30px solid $white;
max-height: 90%;
padding: 30px 20px 0 20px;
top: 5%;

View File

@@ -5,7 +5,7 @@
border-bottom-color: $cookies-policy-modal-border-bottom-color;
@media only screen and (max-width: 640px) {
padding: 15px 15px 0 15px;
padding: .9rem;
}
table {