From f9fedee624a108d56e3733b507e4b3ae34893da0 Mon Sep 17 00:00:00 2001 From: spaghetti Date: Sun, 20 Aug 2017 21:26:32 -0400 Subject: [PATCH] Touch up word breaking --- static/styles/global.css | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/static/styles/global.css b/static/styles/global.css index b87fcb5..34dad04 100644 --- a/static/styles/global.css +++ b/static/styles/global.css @@ -24,13 +24,6 @@ width: 50%; } -.body, .profileinfo { - word-wrap: break-word; - word-break: break-all; - word-break: break-word; - hyphens: auto; -} - input, textarea { border: 1px solid #c7c7c7; background-color: white; @@ -518,23 +511,12 @@ tr.torrent .bookmark>a:after { * Fix long release descriptions overflowing containers (all browsers). * Fix flowing issues in the report resolving pages. */ -.wrap_overflow, .filelist_table td, .reportinfo_table, .torrentdetails blockquote { - word-break: normal; - -ms-word-wrap: break-word; +.wrap_overflow, .filelist_table td, .reportinfo_table, .torrentdetails blockquote, .body, .profileinfo { word-wrap: break-word; - -webkit-hyphens: auto; - -moz-hyphens: auto; - -ms-hyphens: auto; - hyphens: auto; - /* Note that IE will have different behavior on word-break, - * but this is required to keep the layout from breaking. */ - -ms-word-break: break-all; -} -/* Non-web-standard for webkit */ -.torrentdetails blockquote { + word-break: normal; word-break: break-word; + hyphens: auto; } -/* Fix long filename tables overflowing (Chrome only). */ .filelist_table td:first-child { word-break: break-all; }