Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

fix(beans): Restore default padding from the table row #2025

Merged
merged 1 commit into from
Jun 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions src/components/metadata/MetadataEditorModal.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,3 @@
.metadataEditorModalDetailsView {
width: 50vw;
}

.propertyRow {
--pf-c-table--m-compact--cell--PaddingTop: 0px;
--pf-c-table--m-compact--cell--PaddingBottom: 0px;
--pf-c-table--m-compact--cell--PaddingRight: 0px;
--pf-c-table--m-compact--cell--PaddingLeft: 0px;
}
2 changes: 1 addition & 1 deletion src/components/metadata/PropertyPlaceholderRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export function PropertyPlaceholderRow({
}

return (
<TreeRowWrapper row={{ props: treeRow!.props }} className="pf-m-selected propertyRow">
<TreeRowWrapper row={{ props: treeRow!.props }} className="pf-m-selected">
<Td dataLabel="NAME" treeRow={treeRow}>
<TextInput
autoFocus={true}
Expand Down
1 change: 0 additions & 1 deletion src/components/metadata/PropertyRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ export function PropertyRow({
<TreeRowWrapper
key={`${propertyName}-${path.join('-')}`}
row={{ props: treeRow!.props }}
className="propertyRow"
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done

>
<Td dataLabel="NAME" treeRow={treeRow}>
<TextInput
Expand Down