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 6a9fd26
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
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 @@ -6,4 +6,5 @@

.euiBadgeGroup---insideDescriptionList {
padding: 4px 0;
margin-left: -8px;
}
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 6a9fd26

Please sign in to comment.