Repository navigation
fix(ui): Stack the home hero when its column is narrow - #904
Merged
Merged
Conversation
The create-network card on the project home page split into two columns by window width, so it stayed side by side and squashed when a dock panel narrowed the content column. It now follows the portal's main container instead, and the attachment tiles sit two across while stacked. On a portal that doesn't emit the container classes yet, the card stays stacked at every width. Also give the "Prefer the CLI" note a visible background in dark mode, where the muted colour is the same as the card's.
9 tasks done
ecv
approved these changes
Nov 11, 2026
ecv
left a comment
Contributor
There was a problem hiding this comment.
Approve.
The hero card now splits on the portal's main container instead of the window, so an open dock panel stacks it instead of squashing it. It also gets a visible note background in dark mode.
- Every breakpoint moved together (
flex-row, the aside's width and border), so there's no half-switched layout. - On a portal without the container classes, the
@3xl/main:variants never match and the card stays stacked, as the body says. Merging in either order is safe.
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.
Summary
maincontainer instead. Below about 768px of column width, "What attaches to it" drops under the form with its tiles two across.Depends on
The plugin ships no stylesheet, so the container classes come from the portal: datum-cloud/cloud-portal#1799 adds them. This can merge and ship in either order. On a portal that doesn't emit the classes yet, the card stays stacked at every width.
Test plan