Skip to content

Conversation

david-crespo
Copy link
Collaborator

@david-crespo david-crespo commented Mar 29, 2024

These diffs will be a lot nicer to read with whitespace changes hidden.

https://github.com/oxidecomputer/console/pull/2111/files?w=1

Copy link

vercel bot commented Mar 29, 2024

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

Name Status Preview Updated (UTC)
console ✅ Ready (Inspect) Visit Preview Mar 29, 2024 8:57pm


export const defaultCell = <T, U extends React.ReactNode>(props: CellContext<T, U>) => (
<span className="text-secondary">{props.getValue()}</span>
)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Turns out we don't need this. Worth keeping an eye out for situations where it behaves differently because it's not in a span, but that seems pretty unlikely.

& th,
& td {
min-width: fit-content;
white-space: nowrap;
@apply text-secondary;
}

@david-crespo david-crespo marked this pull request as ready for review March 29, 2024 20:57
@david-crespo david-crespo enabled auto-merge (squash) March 29, 2024 20:57
@david-crespo david-crespo merged commit 4db8d83 into main Mar 29, 2024
@david-crespo david-crespo deleted the convert-more-tables branch March 29, 2024 21:06
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.

2 participants