zadam / trilium

Build your personal knowledge base with Trilium Notes
GNU Affero General Public License v3.0
27.2k stars 1.9k forks source link

Book note zoom level not doing anything #1829

Closed jstebenne closed 2 years ago

jstebenne commented 3 years ago

I have a statistics book note with the attribute #bookZoomLevel=3 set, but whatever value I put in, nothing changes. Here are two screenshots showing my issue. Between those, I did a full refresh with cache cleared.

Screenshot from 2021-04-06 09-34-12

Screenshot from 2021-04-06 09-34-45

Am I not understanding what the attribute is supposed to do, or is there something wrong?

Here is the Trilium info I have: App version: 0.46.6 DB Version: 183 Build date: 2021-03-23T23:57:48+01:00 Build revision: 1862acd1ff9261536ebc7118d35bbbd8449ba94d

zadam commented 3 years ago

Hi, previous versions of Trilium (up to 0.45 IIRC) supported different zoom levels for the book notes, but in 0.46 there was a big redesign of book notes and this zoom feature was dropped. You can choose only between card view and list view. The attribute remained though, maybe I should delete the attribute in the migration script since it is currently useless ...

jstebenne commented 3 years ago

Good to know, is there an alternative to it? I'd like to be able to change the width of the grid items so I can see more in the preview.

zadam commented 3 years ago

No, there isn't an alternative beyond overriding the width with a custom CSS: https://github.com/zadam/trilium/wiki/Themes#custom-css (but such "hacks" are not really recommended).

If you want to see more content in the preview it's better to switch to the list view.

brinza888 commented 3 years ago

I was trying to understand label, until idea to search in issues didn't come in my head ))) Seems wiki should be changed too, if you really want to deprecate this label.