Skip to content

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

Fix card overflowing when card title is too long

dominik-zeglen84bd9c586ee4
diff --git a/saleor/static/dashboard/scss/components/_global.scss b/saleor/static/dashboard/scss/components/_global.scss
index c73e1c2559..6bd6532b34 100644
--- a/saleor/static/dashboard/scss/components/_global.scss
+++ b/saleor/static/dashboard/scss/components/_global.scss
@@ -168,3 +168,16 @@ svg {
.waves-effect.waves-lightgray .waves-ripple {
background-color: rgba(0, 0, 0, 0.05);
}
+
+.card {
+ .card-title {
+ overflow-wrap: break-word;
+ }
+}
+
+.row {
+ .col {
+ // Prevent from horizontal scroll on mobile devices
+ max-width: 100%;
+ }
+}