Просмотр исходного кода

Fixing undesirable word breaking in IE

break-all can't be desired behaviour..
Hlsgs 11 лет назад
Родитель
Сommit
f551e68e39
1 измененных файлов с 3 добавлено и 4 удалено
  1. 3 4
      library/scss/partials/_typography.scss

+ 3 - 4
library/scss/partials/_typography.scss

@@ -63,10 +63,9 @@ some nice typographical defaults
 more here: http://www.newnet-soft.com/blog/csstypography
 more here: http://www.newnet-soft.com/blog/csstypography
 */
 */
 p {
 p {
-  -ms-word-break: break-all;
-  -ms-word-wrap: break-all;
-      word-break: break-word;
-     word-break: break-word;
+  -ms-word-wrap: break-word;
+  word-break: break-word; //non-standart css for webkit
+  word-wrap: break-word;
   // cleaning up the ragged lines and breaks
   // cleaning up the ragged lines and breaks
   -webkit-hyphens: auto;
   -webkit-hyphens: auto;
      -moz-hyphens: auto;
      -moz-hyphens: auto;