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
{{ message }}
This repository has been archived by the owner on Jun 9, 2018. It is now read-only.
This screen capture shows an annoying movement of text on the side panel that occurs while switching pages. It doesn't occur all the time and seems to vanish when the pages have been cached, but the flash is still rather unsightly.
I think I've found a potential fix that seems to work for my personal website. After doing some digging, I realized that on page load, the jQuery method removeClass('no-js') is being called on the body element. The only instance of the no-js class in the CSS comes on line 1249 as of this commit, and it appears to modify the panel-main descendant's width to 35%. Removing this CSS declaration has helped.
That would explain the brief flash between 35% and 100% width. Admittedly, I'm not intimately familiar with the Uno codebase, but I believe that this declaration is erroneous altogether; as far as I can tell, the panel-main class is always supposed to take up the entire width of its panel-cover parent.
Thank you!
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This screen capture shows an annoying movement of text on the side panel that occurs while switching pages. It doesn't occur all the time and seems to vanish when the pages have been cached, but the flash is still rather unsightly.
I think I've found a potential fix that seems to work for my personal website. After doing some digging, I realized that on page load, the jQuery method
removeClass('no-js')
is being called on thebody
element. The only instance of theno-js
class in the CSS comes on line 1249 as of this commit, and it appears to modify thepanel-main
descendant's width to 35%. Removing this CSS declaration has helped.That would explain the brief flash between 35% and 100% width. Admittedly, I'm not intimately familiar with the Uno codebase, but I believe that this declaration is erroneous altogether; as far as I can tell, the
panel-main
class is always supposed to take up the entire width of itspanel-cover
parent.Thank you!
The text was updated successfully, but these errors were encountered: