Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run or Open command CSS scroll bar fix #835

Open
aarontocenter opened this issue Apr 1, 2024 · 4 comments
Open

Run or Open command CSS scroll bar fix #835

aarontocenter opened this issue Apr 1, 2024 · 4 comments

Comments

@aarontocenter
Copy link

This simple css hot-fix will remove the unnecessary scroll bars from the Open and Run command popup. Specifically in macOS Safari and Firefox.

.sb-modal-box .cm-scroller > .cm-content > .cm-line{display: unset; line-height: 1.9 !important;}

Enjoy a clean interface again on macOS Safari

image

@daydaya
Copy link

daydaya commented Apr 2, 2024

Could you please share your custom css file?

I see from the screenshot that it looks very comfortable.

@zefhemel
Copy link
Collaborator

zefhemel commented Apr 4, 2024

Let me have a look. I don’t see these scrollbars in neither of those browsers on Mac actually, is int not a result of your other CSS changes (they indeed look nice as @daydaya is saying)

@aarontocenter
Copy link
Author

@daydaya -- sure, the CSS was from another poster, I want to give him credit. If you use his CSS, and add my fix above, it will do look very similar. I'm happy to share my code as soon as I have any bugs worked out ;-)

Vlad Gerasimov - @vladstudio
https://community.silverbullet.md/t/tiniri-a-theme-for-silverbullet-well-a-css-hack-really/336/5

@zefhemel -- Only appears to be a Safari thing, works great in Firefox. See attached from silverbullet.md screenshots. The "scroll bars" only appear before you start typing. I'm using Safari Version 17.4.1. I tested removing all my CSS and running default, and on my install they still appear as well.

Scroll Bar Error after pop-up run or command

Typing anything removes the scroll bars.
Typing anything removes the scroll bars

@zefhemel
Copy link
Collaborator

zefhemel commented Apr 7, 2024

Very odd, this is what I see

CleanShot 2024-04-07 at 15 17 47@2x

CleanShot 2024-04-07 at 15 18 19@2x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants