Skip to content

Commit

Permalink
Refactor EuiDescriptionList column width styles
Browse files Browse the repository at this point in the history
  • Loading branch information
deadlycoconuts committed Jul 15, 2024
1 parent 1882d71 commit fd3f866
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const ResourceRequestConfigTable = ({
textStyle="reverse"
type="responsiveColumn"
listItems={driver_items}
columnWidths={[1, 7/3]}
columnWidths={[1, 1]}
/>
</EuiFlexItem>

Expand All @@ -75,7 +75,7 @@ export const ResourceRequestConfigTable = ({
textStyle="reverse"
type="responsiveColumn"
listItems={executor_items}
columnWidths={[1, 7/3]}
columnWidths={[1, 1]}
/>
</EuiFlexItem>
</EuiFlexGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const BigQueryDatasetTableConfigGroup = ({ table, features, options }) => {
textStyle="reverse"
type="responsiveColumn"
listItems={items}
columnWidths={[1, 5]}
columnWidths={["160px", "auto"]}
/>
</EuiFlexItem>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export const CredentialsConfigSection = ({
<EuiDescriptionList
textStyle="reverse"
type="responsiveColumn"
columnWidths={["70px", "auto"]}
compressed>
<EuiDescriptionListTitle>Client</EuiDescriptionListTitle>
<EuiDescriptionListDescription title={username}>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
.euiPanel--configSection.experimentCredentials {
.euiDescriptionList {
margin-left: 10px;

.euiDescriptionList__title {
width: 70px;
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.euiPanel--configSection.variables {
.euiDescriptionList {
margin-left: 10px;
}
}

0 comments on commit fd3f866

Please sign in to comment.