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

[Bug] html elements overlap when zoom is set to text only in Firefox #1494

Closed
crisc2000 opened this issue Nov 6, 2023 · 5 comments
Closed
Assignees
Labels
bug Something isn't working Dashboard
Milestone

Comments

@crisc2000
Copy link

crisc2000 commented Nov 6, 2023

Client interface html elements overlap when zoom is set to text only in Firefox
@ edit: it seems this happen only when window width is over 1407px.

Steps to reproduce:

  • Set this options in Firefox
    z

Then the CasaOS interface on a window width over 1407px will look like this:
x

@crisc2000 crisc2000 added the bug Something isn't working label Nov 6, 2023
@onlineapps-cloud
Copy link

hi, in my firefox browser i have this results on 130%:
image
try to open in incognito mode without extensions.

@ETWang1991
Copy link

@crisc2000 Is it a case that your screen resolution is so large that the dashboard elements are too small and you need to scale them to make them larger? please tell your screen information.

@crisc2000
Copy link
Author

@crisc2000 Is it a case that your screen resolution is so large that the dashboard elements are too small and you need to scale them to make them larger? please tell your screen information.

Following your hint, I have played with resizing the browser window. It's seem the overlap problem is only when the firefox window width is over ~1400px. When you resize bellow ~1400 the layout came back to normal.

The code who cause the overlap is here:

*  @FilePath: /CasaOS-UI/src/assets/scss/common/color.scss
.side-bar {
 width:21.25rem;
}
@media screen and (max-width:1407px) {
 .side-bar {
  width:18.25rem
 }
}

https://github.com/IceWhaleTech/CasaOS-UI/blob/main/main/src/components/SideBar.vue#L190

@jerrykuku
Copy link
Contributor

Yes this should be a bug because after the browser changes the text size, it affects the unit size of the rem. I'll figure out how to fix this.

@github-project-automation github-project-automation bot moved this to Need Triage (QA+PM) in CasaOS Issues Nov 9, 2023
@jerrykuku jerrykuku added this to the vNext milestone Nov 9, 2023
@jerrykuku
Copy link
Contributor

v0.4.5 has been updated with this issue.

@github-project-automation github-project-automation bot moved this from Need Triage (QA+PM) to To be verified (QA) in CasaOS Issues Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Dashboard
Projects
Archived in project
Development

No branches or pull requests

4 participants