Skip to content

Commit

Permalink
Fix inline titles being passed a margin-top that does nothing
Browse files Browse the repository at this point in the history
  • Loading branch information
cee-chen committed Sep 13, 2023
1 parent feeadd3 commit b1b7a09
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ exports[`EuiDescriptionListTitle EuiDescriptionListTitle prop variations type co

exports[`EuiDescriptionListTitle EuiDescriptionListTitle prop variations type inline is rendered 1`] = `
<dt
class="euiDescriptionList__title emotion-euiDescriptionList__title-inline-normal-s"
class="euiDescriptionList__title emotion-euiDescriptionList__title-inline-normal"
/>
`;

Expand Down
1 change: 0 additions & 1 deletion src/components/description_list/description_list_title.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ export const EuiDescriptionListTitle: FunctionComponent<
conditionalStyles = compressed
? [styles.inlineStyles.compressed]
: [styles.inlineStyles.normal];
conditionalStyles.push(styles[rowGutterSize]);
break;
case 'row':
conditionalStyles.push(styles[rowGutterSize]);
Expand Down

0 comments on commit b1b7a09

Please sign in to comment.