Closed fredcallaway closed 2 months ago
I have the same issue. Could you please explain what you mean by "Replacing dataviewjs with dataview using the dev tools"? Thanks!
@jharst It's not actually a fix. Dev tools let you temporarily edit the obsidian-generated HTML, for debugging purposes.
All that needs to be done is that every occurrence of the dataview class in the theme be duplicated for dataviewjs.
Thanks, @fredcallaway , I understand that better now. I also found out that using a css helper class like table-max
fixes the issue for me.
Is there any plan to fix this? Right now, I am doing this gross hack in my databviewJS blocks to keep the same spacing for both types
dv.container.classList.replace("block-language-dataviewjs", "block-language-dataview")
I am not able to reproduce this issue. I need more information about the settings you are using:
Editor → Readable line length
on/off?cssclasses
on the note?Style Settings
?Thank you for taking care of this! My configuration is as follows:
Editor → Readable line length
is oncssclasses
on the noteStyle Settings
and in `Minimal Theme SettingsI'm experiencing the same issue where table-max
, table-wide
, and similar don't work as expected. These styles function properly with dataview
tables but not with dataviewjs
tables. The problem started when I upgraded Minimal from version 7.7.2 to 7.7.9.
To investigate, I downloaded the theme.css
files for each version, starting from 7.7.2 where the tables rendered correctly. The dataviewjs
tables work fine up until version 7.7.7; the issue starts with version 7.7.8.
Is the bug present when using the default Obsidian theme?
No
Is the bug present when snippets and plugins are disabled?
Yes
Minimal theme version
7.2.1
Describe the bug
The top Meetings block is a dataview block, the bottom is dataviewjs. Replacing dataviewjs with dataview using the dev tools fixes it.