arnau / obsidian-metatable

An Obsidian plugin to display the frontmatter section as a fully expanded table.
MIT License
150 stars 13 forks source link

Too small width for key in mobile version (in portrait mode) #8

Closed MrModest closed 3 years ago

MrModest commented 3 years ago

My Phone: OnePlus 7 Android 11 Display: 6.41" 1920x1080 (FullHD)

Keys badly cut in Portrait mode. Please can you fix it?

Examples on screenshot: aliases, and long_member

First bad because of icon. Second bad because of length of field key.

Portrait mode:

image

Landscape mode:

image

arnau commented 3 years ago

Thanks for reporting! Looks to me that it should be displayed perhaps a bit differently to give enough room for long keys and long values?

I don't use Obsidian on mobile so I'd be keen to get your thoughts on what would be a convenient way to display the information

MrModest commented 3 years ago

image

this is how it's look in default.

I think your table format is good, but it need to more max-width limit, I guess

Also I think, max-limit need to be a bit increased if we have expand button (like for alias in example)

arnau commented 3 years ago

Ook, I'll work with that :) give me a couple of days

arnau commented 3 years ago

After a few tests I settled with a vertical layout for small screens, otherwise values don't have enough space. You'll see the change in 0.9.1

MrModest commented 3 years ago

Actually, it's not so bad. Thank you! (:

image

image