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

Set --wp-admin--admin-bar--height: 0; when admin bar is hidden #5

Open
webmandesign opened this issue Feb 24, 2023 · 0 comments
Open

Comments

@webmandesign
Copy link

First, thank you for this useful extention!

For some time WordPress sets the --wp-admin--admin-bar--height CSS property. Please update your extension code and set the --wp-admin--admin-bar--height to zero when admin bar is toggled off (WordPress uses html as selector for the property setup):

body {
	--wp-admin--admin-bar--height: 0;
}

Thank you!

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

No branches or pull requests

1 participant