alexandru-dinu / obsidian-sortable

Table sorting plugin for https://obsidian.md
MIT License
233 stars 8 forks source link

Hide sort button when there's only table headers/no table content #32

Closed nucspl closed 2 years ago

nucspl commented 2 years ago

It's just a small visual issue I encounter when using tables like this... image

alexandru-dinu commented 2 years ago

Hello,

Certain themes do this by default, e.g. https://github.com/kepano/obsidian-minimal.

However, I am thinking of removing the "up-down" arrows for all tables. This would be the easiest and cleanest solution.

So now, all tables in their default state will have unchanged headers (by CSS). The cycle would be like this:

alexandru-dinu commented 2 years ago

Done in https://github.com/alexandru-dinu/obsidian-sortable/releases/tag/0.2.6.

nucspl commented 2 years ago

I like this implementation, clean and simple!