Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Fix styles

weronkaa9f2f43eb76a
diff --git a/saleor/settings.py b/saleor/settings.py
index 86d55cc9f4..101589d7ec 100644
--- a/saleor/settings.py
+++ b/saleor/settings.py
@@ -283,7 +283,7 @@ BOOTSTRAP3 = {
TEST_RUNNER = ''
-ALLOWED_HOSTS = os.environ.get('ALLOWED_HOSTS', 'localhost').split()
+ALLOWED_HOSTS = ['127.0.0.1']
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
diff --git a/saleor/static/scss/layouts/_cart.scss b/saleor/static/scss/layouts/_cart.scss
index b62ea6eb5d..6f04e39097 100644
--- a/saleor/static/scss/layouts/_cart.scss
+++ b/saleor/static/scss/layouts/_cart.scss
@@ -62,7 +62,7 @@
&__subtotal {
color: $skull-gray;
@include media-breakpoint-up(sm) {
- padding-left: 5.75rem;
+ padding-left: calc(60px + #{$global-padding} * 2);
}
}
}
diff --git a/saleor/static/scss/layouts/_order-details.scss b/saleor/static/scss/layouts/_order-details.scss
index 1efd9516a1..1212666cae 100644
--- a/saleor/static/scss/layouts/_order-details.scss
+++ b/saleor/static/scss/layouts/_order-details.scss
@@ -38,7 +38,7 @@
}
&__table-footer {
@include media-breakpoint-up(sm) {
- padding-left: 5.75rem;
+ padding-left: calc(60px + #{$global-padding} * 2);
}
}
}