- Notifications
You must be signed in to change notification settings - Fork128
Enhance snippet display with scrollbar#252
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Enhance snippet display with scrollbar#252
Uh oh!
There was an error while loading.Please reload this page.
Conversation
technoph1le left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Thanks for the adjustments. I have made some reviews. Please review them before we can proceed.
src/styles/main.css Outdated
| } | ||
| .snippets::-webkit-scrollbar-thumb { | ||
| background:#888; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
I advise using the CSS custom property for colors as there are dark and light mode.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
okay. I have implement these changes in this commit.
Commit Id:07e5551
src/styles/main.css Outdated
| minmax(min(17.5rem,100%),1fr) | ||
| );/* [1] */ | ||
| height:100%; | ||
| max-height:100vh; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
What do you think about setting lower height like90vh?
Also, settingmin-height would ensure it doesn't get too small and squishy.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Yeah, that's pretty great. I have done this changes in this commit.
Commit Id:07e5551
be5c643 intoquicksnip-dev:mainUh oh!
There was an error while loading.Please reload this page.
Description
Type of Change
Checklist
Related Issues
Closes#251
Additional Context
Screenshots (Optional)
Click to view screenshots