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

Layout is incorrect at certain viewport sizes #5396

Open
thegatesdev opened this issue Jan 8, 2025 · 0 comments
Open

Layout is incorrect at certain viewport sizes #5396

thegatesdev opened this issue Jan 8, 2025 · 0 comments
Labels
Milestone

Comments

@thegatesdev
Copy link

thegatesdev commented Jan 8, 2025

Describe the Bug

The BookStack interface changes based on screen size.
It mainly does this by using the larger-than and smaller-than media queries and by extension the hide-under and hide-over CSS classes
The ranges of those media queries are both exclusive. That means that when specifying hide-under-l on one element, and hide-over-l on another element, their behavior at a width of 1000px is not defined.
This applies to all screen sizes, and is especially noticeable when one element disappears and another appears in it's place at a certain width.

Steps to Reproduce

  1. Open the BookStack app (demo works)
  2. Open the developer console
  3. Resize the developer console to make the website viewport exactly 1000px

Expected Behaviour

Interface should be correct at all screen sizes.

Browser Details

Firefox and Chromium on Windows 11

Exact BookStack Version

Development version and live demo version

Screenshots or Additional Context

1000px:
image
Over 1000px:
image
Under 1000px:
image

@ssddanbrown ssddanbrown modified the milestones: v24.12.1, v24.12.2 Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants