From 89fca327ec018e1ec2d9e9ec9d5a43622a11699e Mon Sep 17 00:00:00 2001 From: Ben Thomson Date: Thu, 12 Sep 2019 22:34:54 +0800 Subject: [PATCH] Revert c5d0a467 (#3834) Reported issues with tables with constrained widths breaking content too much. Refs: https://github.com/octobercms/october/issues/4618 --- assets/css/styles.css | 2 +- assets/ui/less/site.normalize.less | 4 +--- assets/ui/storm.css | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/assets/css/styles.css b/assets/css/styles.css index 713fddb5..f65f3bc8 100644 --- a/assets/css/styles.css +++ b/assets/css/styles.css @@ -70,7 +70,7 @@ fieldset {border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em} legend {border:0;padding:0} textarea {overflow:auto} optgroup {font-weight:bold} -table {border-collapse:collapse;border-spacing:0;table-layout:auto;word-wrap:break-word;word-break:break-all} +table {border-collapse:collapse;border-spacing:0;table-layout:auto} td, th {padding:0} *, diff --git a/assets/ui/less/site.normalize.less b/assets/ui/less/site.normalize.less index 3606c3e0..d40b1a82 100644 --- a/assets/ui/less/site.normalize.less +++ b/assets/ui/less/site.normalize.less @@ -416,11 +416,9 @@ table { border-collapse: collapse; border-spacing: 0; table-layout: auto; - word-wrap: break-word; - word-break: break-all; } td, th { padding: 0; -} \ No newline at end of file +} diff --git a/assets/ui/storm.css b/assets/ui/storm.css index 73de67aa..1f4bfdad 100644 --- a/assets/ui/storm.css +++ b/assets/ui/storm.css @@ -70,7 +70,7 @@ fieldset {border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em} legend {border:0;padding:0} textarea {overflow:auto} optgroup {font-weight:bold} -table {border-collapse:collapse;border-spacing:0;table-layout:auto;word-wrap:break-word;word-break:break-all} +table {border-collapse:collapse;border-spacing:0;table-layout:auto} td, th {padding:0} *,