DimitryDushkin / logseq-plugin-task-check-date

24 stars 9 forks source link

hide completed property #2

Open hodanli opened 1 year ago

hodanli commented 1 year ago

is there any way to hide completed property

DimitryDushkin commented 1 year ago

Hey! As far as I know it’s impossible since it’s block’s property

meain commented 1 year ago

This might not be what you are after, but one thing that I do is to change the block property css to be same as the one used for schedule. This way it does not look that bad. 2023-01-22-19-52-48

joaosimuai commented 1 year ago

This might not be what you are after, but one thing that I do is to change the block property css to be same as the one used for schedule. This way it does not look that bad. 2023-01-22-19-52-48

Could you show how to do it? I was using Awesome Props plugin to hide properties. I wish I could do it on a block by block basis.

meain commented 1 year ago

You can write custom css for LogSeq by editing logseq/custom.css. Your changes will depend on the theme that you are using. I personally use Harmony theme with my custom.css to get this effect. The .block-properties class is what you will have to edit.

matthjes commented 1 year ago

It should be possible with

;; hide specific properties for blocks
;; E.g. :block-hidden-properties #{:created-at :updated-at}
:block-hidden-properties #{:completed}

EDIT: You need to configure this in your config.edn.