Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Feedback table alignment #4089

Merged
merged 1 commit into from
Dec 18, 2024
Merged

fix: Feedback table alignment #4089

merged 1 commit into from
Dec 18, 2024

Conversation

ianjon3s
Copy link
Contributor

@ianjon3s ianjon3s commented Dec 18, 2024

What does this PR do?

Quick one: fixes alignment of the feedback table dropdown, as another header row has been added.

Before:
image

After:
image

Copy link

github-actions bot commented Dec 18, 2024

Removed vultr server and associated DNS entries

@ianjon3s ianjon3s marked this pull request as ready for review December 18, 2024 13:18
@ianjon3s ianjon3s requested a review from a team December 18, 2024 13:18
Copy link
Contributor

@DafyddLlyr DafyddLlyr left a comment

Choose a reason for hiding this comment

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

Great catch thanks! 🙌

@@ -167,7 +167,7 @@ export const CollapsibleRow: React.FC<CollapsibleRowProps> = (item) => {
</TableCell>
</TableRow>
<TableRow sx={{ background: (theme) => theme.palette.background.paper }}>
<TableCell sx={{ padding: 0, border: "none" }} colSpan={4}>
<TableCell sx={{ padding: 0, border: "none" }} colSpan={5}>
Copy link
Contributor

Choose a reason for hiding this comment

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

One to think about when we're revising these tables - ideally this would dynamically reflect the number of columns.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Agreed, there used to be a useful colspan="0" property that would span all available cells, which turned out to be a hack and was depreciated with HTML5. Other option is set an unrealistically high number (i.e. colspan="9999"), but that doesn't feel like a proper solution.

@ianjon3s ianjon3s merged commit 79d6b49 into main Dec 18, 2024
12 checks passed
@ianjon3s ianjon3s deleted the ian/feedback-table-alignment branch December 18, 2024 17:54
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