Fix settings data model tables to take full width and align columns (#17104)
## Summary - Updated Relations and Fields tables in the object detail settings page to use flexible width (`1fr`) for the Name column instead of fixed pixels - Aligned column widths between both tables (`1fr 148px 148px 36px`) so the App and Type/Data type columns line up ## Test plan - [ ] Navigate to Settings > Data model > select any object (e.g., Companies) - [ ] Verify the Relations table rows take the full available width - [ ] Verify the Fields table rows take the full available width - [ ] Verify the App and Type/Data type columns are aligned between both tables
This commit is contained in:
committed by
GitHub
parent
bcc6b3cd21
commit
d7638a9075
+1
-1
@@ -37,7 +37,7 @@ type SettingsObjectFieldItemTableRowProps = {
|
||||
};
|
||||
|
||||
export const StyledObjectFieldTableRow = styled(TableRow)`
|
||||
grid-auto-columns: 180px 148px 148px 36px;
|
||||
grid-template-columns: 1fr 148px 148px 36px;
|
||||
`;
|
||||
|
||||
const StyledNameTableCell = styled(TableCell)`
|
||||
|
||||
+1
-1
@@ -26,7 +26,7 @@ type SettingsObjectRelationItemTableRowProps = {
|
||||
};
|
||||
|
||||
export const StyledObjectRelationTableRow = styled(TableRow)`
|
||||
grid-template-columns: 180px 100px 148px 36px;
|
||||
grid-template-columns: 1fr 148px 148px 36px;
|
||||
`;
|
||||
|
||||
const StyledNameTableCell = styled(TableCell)`
|
||||
|
||||
Reference in New Issue
Block a user