Browse Source

Touch up word breaking

spaghetti 7 years ago
parent
commit
538179ac32
1 changed files with 3 additions and 21 deletions
  1. 3
    21
      static/styles/global.css

+ 3
- 21
static/styles/global.css View File

@@ -24,13 +24,6 @@
24 24
   width: 50%;
25 25
 }
26 26
 
27
-.body, .profileinfo {
28
-  word-wrap: break-word;
29
-  word-break: break-all;
30
-  word-break: break-word;
31
-  hyphens: auto;
32
-}
33
-
34 27
 input, textarea {
35 28
   border: 1px solid #c7c7c7;
36 29
   background-color: white;
@@ -518,23 +511,12 @@ tr.torrent .bookmark>a:after {
518 511
  * Fix long release descriptions overflowing containers (all browsers).
519 512
  * Fix flowing issues in the report resolving pages.
520 513
  */
521
-.wrap_overflow, .filelist_table td, .reportinfo_table, .torrentdetails blockquote {
522
-  word-break: normal;
523
-  -ms-word-wrap: break-word;
514
+.wrap_overflow, .filelist_table td, .reportinfo_table, .torrentdetails blockquote, .body, .profileinfo {
524 515
   word-wrap: break-word;
525
-  -webkit-hyphens: auto;
526
-  -moz-hyphens: auto;
527
-  -ms-hyphens: auto;
528
-  hyphens: auto;
529
-  /* Note that IE will have different behavior on word-break,
530
-   * but this is required to keep the layout from breaking. */
531
-  -ms-word-break: break-all;
532
-}
533
-/* Non-web-standard for webkit */
534
-.torrentdetails blockquote {
516
+  word-break: normal;
535 517
   word-break: break-word;
518
+  hyphens: auto;
536 519
 }
537
-/* Fix long filename tables overflowing (Chrome only). */
538 520
 .filelist_table td:first-child {
539 521
   word-break: break-all;
540 522
 }

Loading…
Cancel
Save