Skip to content

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

Fix edge issues and breadcrumbs text wrap

weronkab8d43ebe18c0
diff --git a/saleor/static/scss/dashboard/components/_breadcrumbs.scss b/saleor/static/scss/dashboard/components/_breadcrumbs.scss
index 3774217ba0..35ca5bcc0c 100644
--- a/saleor/static/scss/dashboard/components/_breadcrumbs.scss
+++ b/saleor/static/scss/dashboard/components/_breadcrumbs.scss
@@ -83,7 +83,7 @@
&-item {
text-overflow: ellipsis;
white-space: nowrap;
- max-width: 55vw;
+ max-width: calc(100vw - 80px);
@media (min-width: $medium-screen-up) {
max-width: 14em;
}
diff --git a/saleor/static/scss/dashboard/components/_form.scss b/saleor/static/scss/dashboard/components/_form.scss
index 2bdafed413..3fc5722c16 100644
--- a/saleor/static/scss/dashboard/components/_form.scss
+++ b/saleor/static/scss/dashboard/components/_form.scss
@@ -117,11 +117,12 @@
}
.input-with-suffix {
- display: flex;
+ display: table-row;
input {
- flex-grow: 1;
+ display: table-cell;
}
.input-text-suffix {
+ display: table-cell;
@extend .grey-text;
line-height: 45px;
padding-left: 10px;
diff --git a/saleor/static/scss/dashboard/components/_nav.scss b/saleor/static/scss/dashboard/components/_nav.scss
index 5a820ec208..6685a30b72 100644
--- a/saleor/static/scss/dashboard/components/_nav.scss
+++ b/saleor/static/scss/dashboard/components/_nav.scss
@@ -93,6 +93,7 @@ header {
.logo {
img {
max-height: $navbar-height;
+ width: 140px;
margin: 13px 0;
@media (max-width: $small-screen) {
height: 30px;