Fallenbagel / Hint-of-Colors

Heavily inspired by Hint-of-Green but with more colors and heavily modified
19 stars 6 forks source link

fix: hidden items better stay hidden #9

Closed sannidhyaroy closed 3 months ago

sannidhyaroy commented 3 months ago

This PR is a small change, yet addresses an important issue where elements with the .hide class aren't consistently hidden due to CSS changes. As we build on top of an existing theme with custom CSS, there are occasional conflicts and overrides that can make .hide elements unexpectedly visible.

Reason for Change

In the process of customizing and tweaking CSS, it has become evident that elements with the .hide class are sometimes not hidden as intended. This can lead to elements appearing when they should not, as seen in various scenarios.

For example, the sidebar menu button (with a blank sidebar) on the Login Page was visible ONLY on mobile devices when it should have been hidden. While this is a specific instance, it highlights a broader issue where .hide elements do not consistently maintain their hidden status across different contexts.