Browse Source

frontend: fix tables expand beyond parent div

wangweimin 4 years ago
parent
commit
54481daf14
1 changed files with 4 additions and 0 deletions
  1. 4 0
      pywebio/html/css/app.css

+ 4 - 0
pywebio/html/css/app.css

@@ -80,6 +80,10 @@
     margin-bottom: 10px;
     margin-bottom: 10px;
 }
 }
 
 
+.markdown-body table {
+    word-break: break-all; /*  prevent tables from expanding beyond their parent div */
+}
+
 .CodeMirror {
 .CodeMirror {
     font-size: 13px
     font-size: 13px
 }
 }