uyuni-project / uyuni

Source code for Uyuni
https://www.uyuni-project.org/
GNU General Public License v2.0
411 stars 171 forks source link

Improve viewport size check for mobile #8948

Open Etheryte opened 1 week ago

Etheryte commented 1 week ago

What does this PR change?

The old method was not reliable in all cases, using a media query should fix all the problems we had with it.

GUI diff

No difference.

Documentation

Test coverage

Links

Changelogs

Make sure the changelogs entries you are adding are compliant with https://github.com/uyuni-project/uyuni/wiki/Contributing#changelogs and https://github.com/uyuni-project/uyuni/wiki/Contributing#uyuni-projectuyuni-repository

If you don't need a changelog check, please mark this checkbox:

If you uncheck the checkbox after the PR is created, you will need to re-run changelog_test (see below)

Re-run a test

If you need to re-run a test, please mark the related checkbox, it will be unchecked automatically once it has re-run:

Before you merge

Check How to branch and merge properly!