Skip to content

Commit

Permalink
Add the same padding from EuiSelectableListItem to the header
Browse files Browse the repository at this point in the history
  • Loading branch information
cchaos committed Dec 2, 2019
1 parent d2333cc commit 3a03f16
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@
display: flex;
align-items: center;
border-bottom: $euiSelectableListItemBorder;
padding: $euiSelectableListItemPadding;
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
.euiSelectableListItem {
@include euiFontSizeS;

padding: $euiSizeXS $euiSizeM;
padding: $euiSelectableListItemPadding;
display: block; // Necessary to make sure it doesn't force the whole popover to be too wide
width: 100%;
text-align: left;
Expand Down
3 changes: 2 additions & 1 deletion src/components/selectable/selectable_list/_variables.scss
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
$euiSelectableListItemBorder: 1px solid darken($euiColorLightestShade, 2%);
$euiSelectableListItemBorder: 1px solid darken($euiColorLightestShade, 2%);
$euiSelectableListItemPadding: $euiSizeXS $euiSizeM;

0 comments on commit 3a03f16

Please sign in to comment.