mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Create mixins to force wrap
No need to pre-wrap since we break-word
This commit is contained in:
@@ -211,3 +211,7 @@
|
||||
@media all and (max-width: $mobile_breakpoint) { @content; }
|
||||
}
|
||||
}
|
||||
|
||||
@mixin force-wrap {
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
@@ -139,8 +139,7 @@
|
||||
|
||||
#distributor_address.panel {
|
||||
span {
|
||||
white-space: pre-wrap;
|
||||
word-wrap: break-word;
|
||||
@include force-wrap;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -281,8 +280,7 @@
|
||||
}
|
||||
|
||||
.summary-description {
|
||||
white-space: pre-wrap;
|
||||
word-wrap: break-word;
|
||||
@include force-wrap;
|
||||
}
|
||||
|
||||
.summary-edit {
|
||||
|
||||
Reference in New Issue
Block a user