mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Use rem instead of px or em
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
a {
|
||||
border: 1px solid $grey-300;
|
||||
font-weight: normal;
|
||||
padding: 0.2em 0.625em;
|
||||
padding: 0.15rem 0.5rem;
|
||||
}
|
||||
|
||||
span {
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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%;
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user