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

[BUG] The appearance of the scroll bar in Safari #654

Closed
pawelwiejkut opened this issue Dec 1, 2021 · 2 comments
Closed

[BUG] The appearance of the scroll bar in Safari #654

pawelwiejkut opened this issue Dec 1, 2021 · 2 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@pawelwiejkut
Copy link

Describe the bug
The scrollbar looks weird in Safari, kindly please check screenshots.

  • Device/Os: Macbook / Mac OS 12.0.1
  • Type: Desktop
  • Browser and version [e.g. Chrome 86.0]: Safari 15.1 (17612.2.9.1.20)
  • Hugo Version [ >=0.83.0 expected]: same as in adityatelange.github.io
  • Theme Version [e.g. v4.0, master, or commit-id ]: same as in adityatelange.github.io

Steps to reproduce the behavior:

  1. Go to https://adityatelange.github.io/hugo-PaperMod/
  2. Click on any post inside, check the scrollbar

Expected behavior:
The scrollbar doesn't look nice like in Chrome.

Screenshots
Chrome:
Screenshot 2021-12-01 at 23 15 08

Safari:
Screenshot 2021-12-01 at 23 16 19

@pawelwiejkut pawelwiejkut added the bug Something isn't working label Dec 1, 2021
@adityatelange adityatelange added the help wanted Extra attention is needed label Dec 3, 2021
@pawelwiejkut
Copy link
Author

Hi all,

I'm not into css best practices but as a workaround, you can add

::-webkit-scrollbar{ background: var(--theme); }

into theme-vars.css. It will fix the scrollbar.

@adityatelange
Copy link
Owner

Hi all,

I'm not into css best practices but as a workaround, you can add

::-webkit-scrollbar{ background: var(--theme); }

into theme-vars.css. It will fix the scrollbar.

Using this as solution, Thanks!

romainx pushed a commit to romainx/hugo-PaperMod that referenced this issue Jul 26, 2022
minyeamer pushed a commit to minyeamer/hugo-PaperMod that referenced this issue Sep 16, 2022
dunklecat pushed a commit to dunklecat/hugo-PaperModX that referenced this issue Oct 8, 2022
kylethedeveloper pushed a commit to kylethedeveloper/hugo-PaperMod that referenced this issue Feb 21, 2023
jesse-wei added a commit to jesse-wei/jessewei.dev-PaperMod that referenced this issue May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants