obsidian-dataview icon indicating copy to clipboard operation
obsidian-dataview copied to clipboard

[Bug] DataviewJS tables that are too large can't be scrolled (horizontally) in Live Preview (desktop & mobile)

Open erauner12 opened this issue 1 year ago • 2 comments

What happened?

DataviewJS tables that are too large can't be scrolled horizontally in Live Preview mode.

Happens in Desktop and Mobile.

Same exact issue here: https://github.com/blacksmithgu/obsidian-dataview/issues/1541

I see there was a fix here: https://github.com/blacksmithgu/obsidian-dataview/commit/0327e4ca6084eb4055bb4eb5ca03198452e04b26

though it did not seem to apply to dataviewjs tables. only dataview.

Hope this is an easy fix.

DQL

No response

JS

No response

Dataview Version

0.5.56

Obsidian Version

1.4.4

OS

MacOS

erauner12 avatar Aug 25 '23 16:08 erauner12

Hey! I actually found a way to fix this with just a css snippet:

:has(> .dataview) {
	overflow-x: scroll;
}

Opened a pull request adding this in :)

unxok avatar Jan 28 '24 03:01 unxok

In 2024.02.23,the bug still exists. My version of the software is: obsidian: v1.5.8 Dataview: 0.5.64

tanchao90 avatar Feb 23 '24 08:02 tanchao90