Skip to content

Build your personal knowledge base with Trilium Notes

fix(doc): tables that break out of bounds

Elian Doranf5b0c3b68b90
diff --git a/src/public/app/widgets/type_widgets/doc.ts b/src/public/app/widgets/type_widgets/doc.ts
index ae61650278..57fc7eda89 100644
--- a/src/public/app/widgets/type_widgets/doc.ts
+++ b/src/public/app/widgets/type_widgets/doc.ts
@@ -42,6 +42,10 @@ const TPL = `<div class="note-detail-doc note-detail-printable">
td img {
max-width: 40vw;
}
+
+ figure.table {
+ overflow: auto !important;
+ }
</style>
<div class="note-detail-doc-content"></div>