From 7d2ee437c3931918e8f8d5d23efd5952fc132012 Mon Sep 17 00:00:00 2001 From: Benjamin ter Kuile Date: Wed, 7 Feb 2018 11:02:20 -0300 Subject: [PATCH] Add force-wrap conveniance class helper fixing pre elements inside semantic-ui tables --- addon/styles/_convenience-helpers.sass | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/addon/styles/_convenience-helpers.sass b/addon/styles/_convenience-helpers.sass index cbb82fa..578bf6c 100644 --- a/addon/styles/_convenience-helpers.sass +++ b/addon/styles/_convenience-helpers.sass @@ -20,6 +20,12 @@ &.compact 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 background-color: #ccc !important