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

Closes #15339: Consume entire viewport #15480

Merged
merged 2 commits into from
Mar 20, 2024

Conversation

jeremystretch
Copy link
Member

Fixes: #15339

  • Tweak the base templates to render to the full width of the viewport ("fluid") by default
  • Introduce the page_width context variable to override this for object detail views

I'm not super happy with this solution, but it seems the only feasible choice without upending our entire template structure.

@jeremystretch jeremystretch added this to the v4.0 milestone Mar 19, 2024
Copy link
Collaborator

@arthanson arthanson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd vote for wide for all screens - I have a very wide monitor and I'd still prefer it wide then narrowed down, although I realize this is very subjective.

@jeremystretch
Copy link
Member Author

Should we just leave everything at full width? I don't have a strong opinion.

@arthanson
Copy link
Collaborator

IMHO full width looks better - the right-left dead space borders looks strange
Monosnap PP:B117 | NetBox 2024-03-19 13-33-49

Monosnap PP:B117 | NetBox 2024-03-19 13-35-29

@jeremystretch jeremystretch changed the title Closes #15339: Consume entire viewport, except for object detail views Closes #15339: Consume entire viewport Mar 20, 2024
@jeremystretch
Copy link
Member Author

I've modified the PR to just use full width (fluid) containers for all views.

@jeremystretch jeremystretch merged commit a83b233 into feature Mar 20, 2024
6 checks passed
@jeremystretch jeremystretch deleted the 15339-variable-page-widths branch March 20, 2024 12:26
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants