Hi everyone,
I’m having a serious issue with some CSS that was working perfectly until last week.
I’m using a custom plugin that generates a very wide table (1200–1600px).
For months, it’s always been possible to make it extend beyond the standard page width, displaying horizontal scrolling only when it exceeds the actual available space.
For the past few days, however, Obsidian has been forcing the page width, and the table is being squeezed (I assume) within the --file-line-width limit, completely ignoring my overrides.
I don’t want to change the display of all notes, just extend the table.
What I’m trying to do
I want only this table to extend beyond the page width, without changing the width of all the notes.
Things I have tried
This CSS worked
.my-plugin-container-v3 {
width: 100%;
overflow-x: auto;
}
.my-plugin-container-v3 table {
min-width: 1400px;
width: max-content;
}
.markdown-preview-view .markdown-preview-sizer {
max-width: none !important;
}
But now
For the past few updates, the table has always been limited to the width of the page, as if there were a new wrapper enforcing a max-width.
It seems that Obsidian is applying a new constraint to:
.markdown-reading-view .markdown-preview-sizer .markdown-preview-section
I’d like to know:
Has the Obsidian CSS been updated recently?
Most importantly, what rules should I use to override the CSS?
SYSTEM INFO:
Obsidian version: 1.12.7
Installer version: 1.12.7
Operating system: Windows 10 Education 10.0.19045
Login status: not logged in
Language: it
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 1
Restricted mode: off
Plugins installed: 19
Plugins enabled: 10
1: Dataview v0.5.68
2: Templater v2.16.4
3: Auto Class v2.3.0
4: File indicators v1.1.0
5: Folder Note v0.7.3
6: File Explorer Note Count v1.2.4
7: Metadata Menu v0.8.11
8: Version History Diff v2.3.3
9: Git v2.36.0
10: My plugin V4 v4.0.0
I don’t think these plugins are causing this issue. In any case, my plugin needs to be independent of the others.