Browse Source

Fixes #4334 - Word wrap in Knowledge Base with tables from mobile view perspective

Mantas Masalskis 2 years ago
parent
commit
b8a78cc151
2 changed files with 3 additions and 2 deletions
  1. 2 1
      app/assets/stylesheets/knowledge_base.scss
  2. 1 1
      app/assets/stylesheets/zammad.scss

+ 2 - 1
app/assets/stylesheets/knowledge_base.scss

@@ -941,6 +941,7 @@ b {
 
 .article-content {
   display: block;
+  overflow-wrap: anywhere;
 
   p,
   ol,
@@ -964,7 +965,7 @@ b {
 
   table {
     table-layout: auto;
-    word-break: break-all;
+    word-break: keep-all;
     border-style: hidden;
     border-collapse: collapse;
     font-variant-numeric: lining-nums tabular-nums;

+ 1 - 1
app/assets/stylesheets/zammad.scss

@@ -12358,7 +12358,7 @@ output {
     span,
     p,
     a {
-      word-break: break-all;
+      overflow-wrap: anywhere;
     }
   }