Browse Source

fix: force wrap for code blocks in print view

Nicolas Giard 2 weeks ago
parent
commit
1b6c67ee77
1 changed files with 3 additions and 1 deletions
  1. 3 1
      client/themes/default/scss/app.scss

+ 3 - 1
client/themes/default/scss/app.scss

@@ -685,7 +685,7 @@
         display:inline-block;
         vertical-align:top;
         padding-top:0;
-        
+
         &:first-child {
           width: 100%;
         }
@@ -1275,6 +1275,8 @@
         color: #000;
         box-shadow: none;
         text-shadow: none;
+        white-space: pre-wrap !important;
+        overflow-wrap: break-word !important;
       }
     }
   }