Skip to content
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

Statify widget not collapsed #208

Closed
patrickrobrecht opened this issue May 28, 2021 · 1 comment · Fixed by #209
Closed

Statify widget not collapsed #208

patrickrobrecht opened this issue May 28, 2021 · 1 comment · Fixed by #209

Comments

@patrickrobrecht
Copy link
Member

WordPress offers to collapse widgets: It adds an closed class to the widget <div>.

Our CSS for #statify_dashboard .inside uses display: flex which overrides the display: none; for .js .closed .inside from WordPress Core.

@stklcode
Copy link
Contributor

Correct, the ID selector takes precedence over the class selector because it's more precise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants