You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been very successfully using 'Minimal' as a remote theme that I customize selectively with my local style.css and host on github pages. The primary purpose is for user documentation and as such I frequently call out snippets of code for people to copy and run. There is one aspect of the style.css that doesn't seem to be working as expected and that is around 'text-align' under what appear to be breakpoints in the parent theme. I can inspect the code and see it functioning on its targets and I can localize those targets with increasingly unique css syntax overrides. Where I am having an issue is with an extremely long code block like this bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" that even with a xx-small font-size at 9 point, will do a line wrap. At the classic
level I am running text-align: justify but for the code blocks I am using text-align: left and am 0.5em padding the background with a color that show through the dark-mode I have the full site set to. Where I am getting issues is that the code spilling to two lines, the background spreads broad width and the text acts as if 'justified' rather than 'left' aligned. As I slide past the breakpoints to fit a line full width it does 'left' justify. I am getting differing responses on very narrow breakpoints, mid, and wide breakpoints. I don't see where or how the breakpoints themselves are being set nor how to address the behavior.
The text was updated successfully, but these errors were encountered:
I have been very successfully using 'Minimal' as a remote theme that I customize selectively with my local style.css and host on github pages. The primary purpose is for user documentation and as such I frequently call out snippets of code for people to copy and run. There is one aspect of the style.css that doesn't seem to be working as expected and that is around 'text-align' under what appear to be breakpoints in the parent theme. I can inspect the code and see it functioning on its targets and I can localize those targets with increasingly unique css syntax overrides. Where I am having an issue is with an extremely long code block like this
bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
that even with a xx-small font-size at 9 point, will do a line wrap. At the classiclevel I am running text-align: justify but for the code blocks I am using text-align: left and am 0.5em padding the background with a color that show through the dark-mode I have the full site set to. Where I am getting issues is that the code spilling to two lines, the background spreads broad width and the text acts as if 'justified' rather than 'left' aligned. As I slide past the breakpoints to fit a line full width it does 'left' justify. I am getting differing responses on very narrow breakpoints, mid, and wide breakpoints. I don't see where or how the breakpoints themselves are being set nor how to address the behavior.
The text was updated successfully, but these errors were encountered: