phibr0 / obsidian-commander

Commander - Obsidian Plugin | Add Commands to every part of Obsidian's user interface
MIT License
733 stars 36 forks source link

Add option to hide "Add new command" from status bar #101

Open ReaderGuy42 opened 1 year ago

ReaderGuy42 commented 1 year ago

Describe the feature

Is it possible to add the option to hide the "Add new command" space in the status bar?

Does this fix a problem? If so, specify.

Currently there is a little blank space in the status bar and when you hover over it a context bubble tells you, you can click to add a command to the status bar. However, the blank space always makes me think a plugin isn't loading in correctly.

Did you consider other alternatives?

The only option I can think of is to turn Commander off?

Screenshots and recordings

image

ReaderGuy42 commented 1 year ago

I was able to hide it with this snippet:

.cmdr-adder {
    opacity: 0;
    transition: opacity .12s ease;
    display: none;                              /* <<-------- this is the important part */
}