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

Table not wide enough/text in cells wrap frequently

Open ReaderGuy42 opened this issue 2 years ago • 10 comments

I found this thread here. https://github.com/blacksmithgu/obsidian-dataview/issues/186 but I'm not sure that solves my issue: I have a couple columns, and some of them have a few words in them, but the width of the table doesn't adapt, meaning that the words in the cells wrap frequently like so:

This is
an example
of what
I mean.

Describe the solution you'd like

Is there a way to change a table's width? So it uses the space on the left margins more efficiently?

Thanks :)

ReaderGuy42 avatar Jan 18 '22 10:01 ReaderGuy42

Try turning off the "Readable line length" option in obsidian settings

AtlcatlQ avatar Feb 02 '22 18:02 AtlcatlQ

+1 even with the "Readable line length" off and entire screen taken up by the pane, the table still wraps text in date columns. Narrow columns such as date should not be wrapped when there is room.

erazlogo avatar Mar 08 '22 04:03 erazlogo

+1

The main column this bothers me on is the initial file name column which in my case is a date.

For example, GitHub seems to be formatting this correctly:

File Field 1 Field 2
2022-04-14 Data 1 Data 2

But in Obsidian I'm getting:

File Field 1 Field 2
2022-
04-14
Data 1 Data 2

add1989 avatar Apr 14 '22 09:04 add1989

Could potentially use some CSS but I'm not knowledgeable enough to help beyond that.

AB1908 avatar Apr 14 '22 12:04 AB1908

+1

levinelson avatar Jun 01 '22 21:06 levinelson

+1

yordan-pavlov avatar Jul 27 '22 19:07 yordan-pavlov

+1

lalalajinsi avatar Jan 26 '23 17:01 lalalajinsi

+1

John-smith-889 avatar Dec 13 '23 15:12 John-smith-889

+1 there's gotta be some way. I have text that wraps when it shouldn't and there is plenty of room.

deafpolygon avatar Dec 28 '23 13:12 deafpolygon