-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
a small bug #58
Comments
function adjustLayout() {
} // Debounce function to limit the rate at which a function is executed // Adjust layout immediately and on resize, with debouncing In order to enhance performance, this code debounces the resize event and makes an instantaneous adjustment as the page loads. Additionally, make sure your CSS is responsive, and if you can, use CSS media queries to change the layout. |
`window.onresize = function () {
} I added a line to get the sidebar element using getElementById. Make sure you replace "sidebar" with the actual ID of your sidebar element. |
Hello, I found that after clicking the "Show Contacts" button after the page is zoomed out, directly zooming in on the page will result in incomplete display on the right side.
I added some code in js myself, but it doesn't feel very good.
The text was updated successfully, but these errors were encountered: