-
Notifications
You must be signed in to change notification settings - Fork 78
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
stretched sidebar #28
Comments
Hi @skyth3r, could you try this branch: https://github.com/techmagus/hugo-theme-digital-garden/tree/27-28 I can't test it in your smartphone model, but I just realised, by reverting commit adaf612, it will reintroduce #27. It looks okay on my end, but I guess the issue is with Safari/WebKit. For #28, what I did was to target the syntax highlighter. I added this in the <style>
div.highlight table.lntable {
overflow-x: scroll;
display: block;
}
</style> I'm new to this theme, and I'm still grasping the inner workings of it. Originally, I was trying to find a workaround for #28 without reverting #27, while it worked, the sidebar width differs between articles (list and single) compared to the rest of the pages. (I'll find another workaround if #27 is back.) Anyhow, here are some screenshots: |
Ooo, thanks for this @techmagus! I'll have a play around with it this weekend when I have a free moment |
@techmagus just tried out your change but couldn't get it working 😅 I think for now I might just remove my code blocks from my article for now and add them back once this is fixed |
See also: apvarun#28
I have the same problem here. added the HTML code but still doesn't seem to fix the side bar problem. |
I have the same issue when running
|
After the latest code fix to correct #27, a new issue was introduced that caused the sidebar to stretch across the page. The sidebar width also differs between the articles page and all other pages.
I've attempted to fix this myself on my own branch here but I'm getting mixed results (I'm not good at CSS 😅 )
Here is what I see without any of my modifications after updating the theme submodule 👇
Any chance you know how to fix this @apvarun?
The text was updated successfully, but these errors were encountered: