Skip to content

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

Wrap user name if too long

weronka4ca9b3c386eb
diff --git a/saleor/static/scss/dashboard.scss b/saleor/static/scss/dashboard.scss
index a16e384f1a..88cb0a7a1f 100644
--- a/saleor/static/scss/dashboard.scss
+++ b/saleor/static/scss/dashboard.scss
@@ -28,12 +28,14 @@ header {
line-height: 0;
.user-name {
padding: (($dropdown-item-height - 22) / 2) 16px;
+ white-space: normal;
+ max-width: 90vw;
}
.menu-toggle {
background-color: $primary-color;
position: absolute;
width: 237px;
- z-index: 999;
+ z-index: 2;
&.fixed {
position: fixed;
box-shadow: 2px 0px 5px 0px rgba(0, 0, 0, 0.20);