Skip to content

Commit

Permalink
match styling
Browse files Browse the repository at this point in the history
  • Loading branch information
patrykkopycinski committed Jul 28, 2020
1 parent cff0064 commit 5c266b3
Showing 1 changed file with 15 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,21 @@ const StyledEuiFieldText = styled(EuiFieldText)`
&[readonly] {
cursor: pointer;
background-size: 0 100%;
background-repeat: no-repeat;
// To match EuiFieldText focus state
&:focus {
background-color: #fff;
background-image: linear-gradient(
to top,
#006bb4,
#006bb4 2px,
transparent 2px,
transparent 100%
);
background-size: 100% 100%;
}
}
& + .euiFormControlLayoutIcons {
Expand Down Expand Up @@ -71,7 +86,6 @@ const SearchTimelineSuperSelectComponent: React.FC<SearchTimelineSuperSelectProp
readOnly
disabled={isDisabled}
onFocus={handleOpenPopover}
onClick={handleOpenPopover}
value={timelineTitle ?? i18n.DEFAULT_TIMELINE_TITLE}
icon="arrowDown"
/>
Expand Down

0 comments on commit 5c266b3

Please sign in to comment.