Browse Source

style: use overflow-wrap instead of global word break

charlie 5 years ago
parent
commit
456614b186
2 changed files with 1 additions and 4 deletions
  1. 1 0
      resources/css/common.css
  2. 0 4
      src/main/frontend/components/theme.css

+ 1 - 0
resources/css/common.css

@@ -142,6 +142,7 @@ body {
   line-height: 1.5;
   background-color: transparent;
   min-height: 100%;
+  overflow-wrap: anywhere;
 }
 
 a svg {

+ 0 - 4
src/main/frontend/components/theme.css

@@ -83,10 +83,6 @@ html[data-theme=light] {
   }
 }
 
-* {
-  word-break: break-word;
-}
-
 .hide-scrollbar {
   -ms-overflow-style: none; /* IE and Edge */
   scrollbar-width: none !important; /* Firefox */