Repository navigation
Native IaC: stack the relations and verbs table on phones - #332
Open
jeffreyaven wants to merge 1 commit into
Open
jeffreyaven wants to merge 1 commit into
jeffreyaven wants to merge 1 commit into
Conversation
On a 390px screen the statement column (long unbreakable relation names) took most of the width, leaving the effect column a few words per line and the table scrolling sideways. Below 577px the table now stacks each row, statement above effect, both full width. Tablet and desktop are unchanged. The rule is a reusable class, table-stack-mobile, in global.css; the table is wrapped in it in English and all 13 translations (verified and marked). The .md companions drop the wrapper. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
✅ Deploy Preview for stackql-io ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
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.
On phones the first table on
/getting-started/native-iac("Relations and verbs") gave most of its width to the statement column, whose relation names (stackql_preview.iac.ledger) cannot wrap. The effect column was left a few words wide, so each row ran to seven or more lines and the table scrolled sideways.Below 577px the table now stacks each row, with the statement above its effect and both at full width. At 577px and wider the two-column table fits without scrolling, so tablet and desktop are unchanged.
src/css/global.css: a reusabletable-stack-mobileclass, under "Table formatting". To use it on another table, wrap the table in<div className="table-stack-mobile">with blank lines inside the tags.docs/getting-started/native-iac.mdand the 13 translations: the table is wrapped in that class. All translations passyarn i18n:verifyand are marked;yarn i18n:status --checkis clean.Checked in a local build of all 14 locales, in headless Chrome at 390, 576, 577, 768 and 1280px, in en, ar and zh-hans:
.mdcompanions keep the plain markdown table without the wrapper.🤖 Generated with Claude Code