Different table width in read/edit view (minimal)

Hello I don’t know why but the table expand in reading view when using Minimal Theme. I need some help to fix it.

Already tried changing settings:

In the past, this custom css worked but not anymore:
.markdown-preview-view.is-readable-line-width .markdown-preview-sizer .cm-table-widget,
.markdown-preview-view.is-readable-line-width .markdown-preview-sizer>div:has(>table) {
width: unset;
}

The table width is set with this variable:

--container-table-width: calc(var(--line-width) + var(--table-drag-space) * 2);

You could try playing around with this; 41rem seemed to line things up in Reading view for me, but adjust to your preference.

body .markdown-preview-view {
  --container-table-width: 41rem;
}
1 Like

51rem is the perfect one for me! Thank you for saving the day again and again :heart:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.