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

Refactor Wazebar integration and height adjustment logic #9

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

JS55CT
Copy link
Contributor

@JS55CT JS55CT commented Jan 9, 2025

  • Moved Wazebar HTML injection point from #app-head to .app.container-fluid.show-sidebar to improve element positioning.
  • Updated setHeightForAppContainer() call to execute after the "SAVE" event, ensuring the height of body > div.app.container-fluid.show-sidebar is recalculated, which prevents unwanted scrollbar appearance.
  • Set a maximum font size of 30 for the Wazebar settings to prevent potential overflow of .app.container.

JS55CT and others added 3 commits January 9, 2025 17:00
- Moved Wazebar HTML injection point from `#app-head` to `.app.container-fluid.show-sidebar` to improve element positioning.
- Updated `setHeightForAppContainer()` call to execute after the "SAVE" event, ensuring the height of `body > div.app.container-fluid.show-sidebar` is recalculated, which prevents unwanted scrollbar appearance.
- Set a maximum font size of 30 for the Wazebar settings to prevent potential overflow of `.app.container`.

This refactor enhances UI stability by ensuring dynamic adjustments are made in response to user settings.
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

Successfully merging this pull request may close these issues.

1 participant