#308: Improvements for rendering on mobile phones - #354
Merged
Conversation
The default `viewport` tag was missing `initial-scale=1`. Without it, many mobile browsers ignore the device width on first paint and render at a zoomed-out desktop scale. This should be a one-line, zero-risk fix. Helps fix igniterealtime#308
This stacks the sidebar under the main content instead of forcing a 960px+ two-column layout. Helps fix igniterealtime#308
The `download-box-*.jspf` files use HTML `<table>` layouts. These won't reflow with the CSS used in this project. Wrapping them for horizontal scroll is the cheap containment fix so they don't blow out the whole page width. Helps fix igniterealtime#308
Revisit the fix for igniterealtime#307 Move the nav row-to-dropdown transition and the content column collapse to a shared 768px breakpoint, and switch the nav list to flex-wrap so items degrade to a wrapped row instead of overflowing transparently. Also replaces the range-syntax media queries (width >= / width <) with min-width/max-width for broader browser support.
This should prevent the sidebar to cling to the right while leaving visible white gap to the right of the main content. As part of this, load stylesheets via `<link>` instead of `@import` in `<style>`. Firefox failed to fully apply rules from `@import`-ed stylesheets, breaking the sidebar flex layout; `<link>` tags parse reliably and also allow parallel CSS downloads. Also switches `interior.css` to an absolute context path so it resolves correctly regardless of URL depth. Helps fix igniterealtime#308
Move responsive sidebar layout into global styles so shared pages avoid full-width stacked sidebars below 768px fixes igniterealtime#308
akrherz
approved these changes
Jul 30, 2026
Fishbowler
approved these changes
Jul 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Various improvements (see individual commits) that should improve the rendering of the website on devices with a smaller viewport.