Skip to content

Conversation

benjaminleonard
Copy link
Contributor

@benjaminleonard benjaminleonard commented Mar 3, 2025

Fixes #2722

Bonus fix of this joined two column properties table is we automatically get the label columns matching width when it wraps on smaller screens.

Inline grid stuff maybe isn't the most readable, but doing it in a mix of externally in the CSS I always find confusing. Perhaps fixable with some utility classes.

image

Slightly narrower so it doesn't take so much space, especially on the side panes.

Pretty much ready to review, I need to poke around all the usages to check for any regressions.

Copy link

vercel bot commented Mar 3, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
console ✅ Ready (Inspect) Visit Preview Mar 3, 2025 5:39pm

{
'lg+:grid-cols-[minmax(min-content,1fr)_3fr_minmax(min-content,1fr)_3fr] lg+:[&>*:nth-child(-n+4)]:!border-t-0 lg+:[&>*:nth-child(4n-2)]:border-r':
columns === 2,
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'll take your word for it

Copy link
Collaborator

@david-crespo david-crespo left a comment

Choose a reason for hiding this comment

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

Love it, looks great. The stupid test flakes may prevent merge. I will probably override them for now.

@benjaminleonard benjaminleonard enabled auto-merge (squash) March 3, 2025 17:47
@benjaminleonard benjaminleonard disabled auto-merge March 3, 2025 17:51
@benjaminleonard benjaminleonard merged commit a64dbb8 into main Mar 3, 2025
7 checks passed
@benjaminleonard benjaminleonard deleted the update-properties-table branch March 3, 2025 18:31
david-crespo added a commit to oxidecomputer/omicron that referenced this pull request Mar 4, 2025
david-crespo added a commit to oxidecomputer/omicron that referenced this pull request Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove badge from label of properties table
2 participants