victoriadrake/hugo-theme-sam

vertical scrollbar / CSS changes not applied

emu42 opened this issue · 1 comments

emu42 commented

Hello,

I have been trying to get rid of the vertical scrollbar that shows up on the main page by removing the vertical padding on the body element. At first I tried copying the style.sass to my site's /assets/sass folder and made the modifications there and when I checked with hugo's built-in webserver it seemed to do exactly what I wanted.

However, running the site generator, I still end up with the scrollbar. I tried altering the style.sass directly in the theme and I am now using hugo extended 0.70.0, but the result is still the same with unwanted padding ending up in main.min..css. I don't quite understand yet where this is coming from (or what exactly goes into main.min..css and style.css).

So this boils down to 2 questions:

  • How can I make this change to the stylesheet stick?
  • Are you planning to do anything about that scrollbar yourself?

Hello! Thanks for calling the scrollbar to my attention. I've pushed a fix.

As for you not being able to make changes to the Sass, I'm not sure why that would be the case. Any changes you make to the assets/sass/ files ought to be picked up when you run hugo or hugo serve. My guess is you saw the effects of resource caching. If you are still unable to make changes to the Sass, please reopen this issue.