Skip to content

Commit

Permalink
chore: Updates Field selector (opensearch-project#1845)
Browse files Browse the repository at this point in the history
Signed-off-by: Ashwin Pc <ashwinpc@amazon.com>
  • Loading branch information
ashwin-pc authored and joshuarrrr committed Aug 1, 2022
1 parent d0d5d99 commit d2e621b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,24 @@
.wizFieldSelectorField {
@include euiBottomShadowSmall;

padding: $euiSizeXS;
background-color: $euiColorEmptyShade;
border: $euiBorderThin;
margin-top: $euiSizeS;
margin-top: $euiSizeXS;

& > .osdFieldButton__button {
padding: 0;
}

& .osdFieldButton__name {
padding: $euiSizeS $euiSizeS $euiSizeS 0;
}

& > button {
align-items: center;
gap: 4px;
align-items: stretch;
}

& .osdFieldIcon {
box-shadow: none;
height: 100%;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,11 @@ export const FieldSelectorField = ({ field }: FieldSelectorFieldProps) => {

return (
<FieldButton
size="s"
className="wizFieldSelectorField"
isActive={infoIsOpen}
onClick={togglePopover}
dataTestSubj={`field-${field.name}-showDetails`}
fieldIcon={<FieldIcon type={field.type} scripted={field.scripted} />}
fieldIcon={<FieldIcon type={field.type} scripted={field.scripted} size="l" />}
// fieldAction={actionButton}
fieldName={fieldName}
{...dragProps}
Expand Down

0 comments on commit d2e621b

Please sign in to comment.