Responsive breakpoints and viewport inventory
Developers who need one record of every viewport meta tag, breakpoint and container query in this site pack, and the unified values to keep on every change
How this inventory was built
Every file in pack app-safeconnect.site.1 was read. Viewport meta tags were recorded from each HTML head. Breakpoints were recorded from each style block and each stylesheet. Container queries were searched as the at-container rule. No value was taken from a file outside the pack. The signed-in app script at the app address is not in this pack, so signed-in screen layouts beyond the app shell in public/app/index.html are marked Not in the record provided.
- Viewport and breakpoint values are quoted as written in the pack
- A breakpoint is counted once per distinct width value in a file, not once per rule
- Container queries means the at-container rule only. No other container mechanism is counted
Viewport meta tags
Every public page uses the same viewport meta tag. The signed-in app shell adds two values for notched phones and for the on-screen keyboard.
| Files | Viewport meta tag as written | Effect |
|---|---|---|
| All public pages and guides in public and public/guides, including public/index.html, public/features.html, public/404.html, public/offline.html and public/health.html | width=device-width,initial-scale=1 | The page width follows the device width. The initial scale is 1. No maximum scale is set, so pinch zoom stays available. |
| public/app/index.html, the signed-in app shell | width=device-width,initial-scale=1,viewport-fit=cover,interactive-widget=resizes-content | The page uses the full notched screen area and resizes when the on-screen keyboard opens. This is the only viewport meta tag in the pack with viewport-fit and interactive-widget values. |
- No page in the pack sets maximum-scale or user-scalable. Zoom is not blocked on any page.
- Public pages do not set viewport-fit, so a notched phone shows the public header with the default inset in this pack. The app shell does set viewport-fit and also sets safe-area padding in its styles.
- No page sets a different initial scale. All pages use initial-scale=1.
Breakpoints in public/site.css
The header comment in public/site.css states that only 1024, 900, 600 and 480 appear, once each, in the final cascade. The file as written uses more width values than that comment states, and several values repeat in appended audit blocks.
| Width value in public/site.css | Where it appears | What changes at that width |
|---|---|---|
| 1024 | First responsive block, later audit blocks, and the final cascade | Hero and split grids become one column. Card grids with 3 or 4 columns become 2 columns. Tables become block elements with horizontal scroll. The header nav wraps. |
| 900 | First responsive block, later audit blocks, and the final cascade | Nav becomes a toggle menu. Section padding shrinks. Card grids stay at 2 columns. Bands become full width. |
| 768 | Appended blocks after the first cascade | Card grids with 2, 3 or 4 columns become 1 column. Section padding becomes 48px. Staff phone and tablet widths at 768 show one column earlier than the 900 rule states. |
| 641 to 900 and 601 to 1024 and 601 to 900 and 769 to 1024 ranges | Appended tablet and landscape blocks | Card grids are kept at 2 columns in the tablet range and buttons stay in a row. These ranges use 641, 601 and 769 as lower bounds, which are not in the header comment. |
| 600 | First responsive block and the final cascade | Wrap padding becomes 16px. All card grids become 1 column. Buttons become full width. Tables with data-label cells become stacked cards with a label per cell. Tables without data-label cells become horizontally scrolling tables. |
| 640 and 430 | Appended blocks and the app shell styles, see the app shell table below | Appended public blocks use 640 for table and grid changes. The app shell uses 640 and 430 for its own tables. Public pages do not use 430 in public/site.css. |
| 480 | First responsive block and the final cascade | Wrap padding becomes 14px. Footer links become 2 columns. Headings use the smallest clamp values. |
| 900 with max-height 500 | Tablet landscape and short-height block | Section and hero padding shrink on landscape phones. Nav stays scrollable. Buttons stay in a row. |
| prefers-reduced-motion and forced-colors | Reduced motion block, forced-colors blocks | Motion is reduced and focus uses the Highlight colour. These are not width breakpoints and are listed here so the count of width values stays complete. |
Breakpoints in inline page styles
Two public pages carry their own style blocks instead of relying only on public/site.css. One guide page carries a print and small-width style block.
| File | Width values in its style block | What changes at that width |
|---|---|---|
| public/404.html | 900 and 600, plus prefers-reduced-motion and forced-colors | At 900 the nav becomes a toggle menu. At 600 buttons become full width and footer padding shrinks. This page has no 1024 rule for the header wrap and no 480 rule for small phones. |
| public/offline.html | No width rule in its style block. The page uses public/site.css for width rules. | Width behaviour comes from public/site.css only. |
| public/guides/my-day-briefing.html | Print rule only in its style block | Print hides header, footer and tracker actions. Screen width behaviour comes from public/site.css only. |
| All other public pages and guides | No width rule in a page style block. Width behaviour comes from public/site.css only. | One stylesheet controls width behaviour for these pages. |
Breakpoints in the signed-in app shell
The app shell in public/app/index.html carries its own responsive styles. It uses more width values than the public pages and it uses a different small-phone table rule.
| Width value in public/app/index.html | What changes at that width |
|---|---|
| 1024 | Stats and card grids become 2 columns. Tabs scroll horizontally. Tables scroll. Modal cards fit the viewport. |
| 900 | Shell becomes a column layout. Topbar is sticky. Main padding shrinks. Sidebar becomes a drawer when the drawer script has run. Minimum target size is 44px. |
| 901 and above | Drawer controls are hidden. Desktop topbar, sidebar and page header are sticky. |
| 768 | Page header stacks. Facts grids become 1 column. Tables with data-label cells become stacked cards. |
| 640 and 600 | At 640 tables without data-label cells scroll. At 600 tables become stacked cards and actions become full width. Both values appear in the same file for the same table change. |
| 480 and 430 | At 480 main padding shrinks and the drawer width changes. At 430 grids become 1 column and unlabelled tables scroll with a 120px minimum cell width. |
| 900 with max-height 500 | Short landscape phones use a narrower drawer and smaller topbar gaps. |
- The app shell is the only file in the pack that uses 430 and 640 as width values for tables.
- The app shell table rule at 600 makes every table a stacked card. The public site rule at 600 makes only tables with data-label cells stacked cards, and other tables scroll. The two rules differ on purpose for the two surfaces.
- Signed-in screens beyond the shell are Not in the record provided in this pack. Their width rules cannot be inventoried here.
Container queries
Container queries were searched in every file in the pack as the at-container rule.
| Scope searched | Result |
|---|---|
| public/site.css | No at-container rule in the file. |
| public/app/index.html style blocks | No at-container rule in the file. |
| All public HTML files and guides | No at-container rule in any file. Each file has at most one small style block, and none of those blocks contains an at-container rule. |
| public/site.js | No container query API use in the file. The script sets nav state, form state and search state only. |
Result for the pack: 0 container queries. Layout changes come from width media queries and from the labelled table classes only. A card grid therefore changes at the page width, not at the width of the section that holds it.
Inconsistencies and missing coverage
Each item below was checked against the tables above. Work through the list in order. Stop at the first item that fails for the width you are testing.
The header comment does not match the file
The comment states only 1024, 900, 600 and 480 appear, once each. The file also uses 768, 641, 640, 601, 769 and 901. A reader who trusts the comment will miss the tablet rules.
Two values change the same table at near the same width
Public tables change at 600 in the first cascade and at 640 in an appended block. App shell tables change at 640 and at 600. A tablet at 620 shows the appended rule first and the first cascade rule second, in that order in the file.
Card grids collapse twice in the tablet range
At 1024 card grids become 2 columns. At 768 they become 1 column. At 641 to 900 in a later block they become 2 columns again. The final cascade keeps 2 columns at 641 to 1024, so the 768 one-column rule only wins where a later rule does not apply.
Tablet landscape has no stated grid rule
Short-height landscape phones have a padding rule at 900 with max-height 500. Tablets in landscape at 1024 by 768 and at 1180 by 820 have no stated grid rule beyond the 1024 and 900 width rules. The 1024 rule makes grids 2 columns, which covers landscape tablets, but no rule states that result.
The 404 page has no tablet width rule
public/404.html changes at 900 and 600 only. At 1024 the header wrap follows the inline style alone, which has no 1024 gap rule, while public pages follow public/site.css at 1024.
Public pages have no safe-area viewport value
Only the app shell sets viewport-fit=cover. Public pages set safe-area padding in public/site.css but do not set viewport-fit in the meta tag, so the padding has no notched area to use on a public page in this pack.
No container query covers a card inside a narrow section
With 0 container queries, a card grid in a narrow split column still uses the page width. A 3-column grid in a half-width section at desktop width therefore stays at 3 columns in this pack.
Unified breakpoint proposal
Keep four width values for public pages and add one height rule for landscape phones. Map every other width value in the pack to the nearest value in this list. Do not add a fifth width value for a new page.
| Unified value | Name | Layout in this proposal | Pack values that map to it |
|---|---|---|---|
| Greater than 1024 | Desktop | Hero and split grids in 2 columns. Card grids in 2, 3 or 4 columns as authored. Tables as tables. | Above 1024 in every file. |
| 901 to 1024 | Tablet landscape | Card grids in 2 columns. Hero and split grids in 1 column. Tables scroll in their container. Header nav wraps. | 1024, 901 to 1024, 769 to 1024. |
| 601 to 900 | Tablet portrait | Card grids in 2 columns. Nav is a toggle menu. Buttons stay in a row where space allows. Tables scroll in their container. | 900, 768, 641 to 900, 601 to 900. |
| 600 and below | Mobile | Card grids in 1 column. Buttons full width. Tables with data-label cells become stacked cards. Tables without data-label cells scroll in their container. | 600, 640. |
| 480 and below | Small mobile | Wrap padding 14px. Footer links in 2 columns. Smallest heading sizes. No new layout change beyond the 600 rule. | 480, 430. |
| 900 with max-height 500 | Landscape phone | Section, hero and page-hero padding shrink. Nav scrolls. No grid change beyond the 900 rule. | 900 with max-height 500 in public/site.css and in public/app/index.html. |
- Send values are the same on public pages and the app shell: 1024, 900, 600, 480, plus the height rule at 900 with max-height 500.
- Values to retire as standalone breakpoints: 768, 640, 641, 601, 769, 901 as a lower bound, and 430. Each retired value maps to the unified value in the table above.
- Viewport meta tag for public pages becomes width=device-width,initial-scale=1,viewport-fit=cover to match the app shell. No maximum scale is added.
- Container queries stay at 0 in this proposal. The card grid rule stays a width rule so an older browser keeps the authored layout.
File-by-file edits
Apply one row at a time. Each edit keeps the existing layout rules and only changes the width value or the meta tag stated in the row.
| File | Edit |
|---|---|
| public/site.css, header comment | Replace the comment that states only 1024, 900, 600 and 480 appear, once each, with the unified value list in the proposal table above, including the height rule at 900 with max-height 500. |
| public/site.css, appended audit blocks | Replace every 768 width value with 900. Replace every 640 width value with 600. Replace lower bounds 641, 601 and 769 with 601 for the tablet portrait range and 901 for the tablet landscape range, as stated in the proposal table. |
| public/site.css, tablet landscape block | Move the grid rule that keeps 2 columns at 641 to 1024 into the 901 to 1024 tablet landscape rule, so landscape tablets and portrait tablets state the same 2-column result in one place. |
| public/404.html, style block | Add the 1024 header gap rule from public/site.css at the start of the style block. Add the 480 wrap padding rule from public/site.css at the end of the style block. Keep the 900 and 600 rules as written. |
| All public HTML files and guides, head section | Change the viewport meta tag from width=device-width,initial-scale=1 to width=device-width,initial-scale=1,viewport-fit=cover. Keep initial-scale=1. Do not add maximum-scale or user-scalable. |
| public/app/index.html, style blocks | Replace every 768 width value with 900. Replace every 640 width value with 600. Replace every 430 width value with 480. Keep the 1024, 900, 600 and 480 rules and the height rule at 900 with max-height 500 as written. |
| public/app/index.html, head section | Keep the viewport meta tag as written: width=device-width,initial-scale=1,viewport-fit=cover,interactive-widget=resizes-content. This file already matches the proposal viewport value. |
| public/site.js | No edit. The script sets no width value and no container query. |
| All other files in the pack | No edit. No other file in the pack contains a width breakpoint, a viewport meta tag or an at-container rule beyond the files listed above. |
- After the edits, search the pack files for the retired values 768, 640, 641, 769 and 430 as width values. No width rule in the edited files should use a retired value.
- After the edits, open one public page at 1024, 900, 600 and 480 and the app shell at the same widths. Card grids should show 2 columns at 901 to 1024 and at 601 to 900, and 1 column at 600 and below, on both surfaces.
- After the edits, open a landscape phone at 900 by 500 or wider height. Section padding should shrink and no grid should change beyond the 900 rule.
What this page does not change
Keep these limits in mind before you apply the edits above.
- This page changes no layout rule by itself. It states the values to keep on every change in the edits above.
- This page adds no container query, no new stylesheet and no new script. Container queries stay at 0 in this pack.
- This page states no signed-in screen rule beyond the app shell in public/app/index.html. Signed-in screen rules beyond the shell are Not in the record provided in this pack.
- This page adds no sign-in path, no role, no permission and no tenancy path. It lists no secret, password, token, API key or access code.
Check a page at each unified width
Open a public page and the app shell at 1024, 900, 600 and 480, and a landscape phone at 900 by 500.