Add force-wrap conveniance class helper fixing pre elements inside semantic-ui tables

This commit is contained in:
2018-02-07 11:02:20 -03:00
parent ac8aabd302
commit 7d2ee437c3
+6
View File
@@ -20,6 +20,12 @@
&.compact &.compact
padding: 0.5em 0.7em padding: 0.5em 0.7em
// This helper is used on semantic-ui tables having pre elements. Due to whitespace settings the table width is pushing the table from the screen
// https://github.com/Semantic-Org/Semantic-UI/issues/1341
.force-wrap
white-space: pre-wrap
word-wrap: break-word
input:disabled input:disabled
background-color: #ccc !important background-color: #ccc !important