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

Remove container margins on smaller (unsupported) displays. #163

Conversation

MrStonedOne
Copy link
Member

The whole max-width thing has always been kinda silly. The chosen viewport sizes are always monitor widths which assumes that somebody isn't gonna have a browser window smaller than their monitor but they will. Be it vertical taskbars, or tiling window managers or just doing a windows 7 and up drag to the side split screen, this assumption just doesn't hold up. having the page have a width of 720px unless i can get the viewpoint to exactly 992px or higher is silly ya know?

None the less thats all bootstrap side, not us, so this will work for the primary case the bootstrap way shows its flaws.

For those of you with access, this is live on campbell's tgs on the v5.2.4 tag of my fork but should work just as well on current.

this is still not ideal:

image

but its better than this
image

(viewport of ~900px, 1024px portrait monitor with a vertical taskbar)

@Cyberboss Cyberboss merged commit 707ee35 into tgstation:next Jan 16, 2024
4 checks passed
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.

None yet

2 participants