Skip to content

Commit

Permalink
fix(default-layout): hardcode text input spinner positioning
Browse files Browse the repository at this point in the history
  • Loading branch information
robinpyon committed Sep 15, 2022
1 parent e0aecfc commit f698c92
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,14 @@ interface SearchHeaderProps {
setHeaderInputRef: Dispatch<SetStateAction<HTMLInputElement | null>>
}

// @todo: remove hardcoded margin once <Spinner /> alignment within <TextInput /> icons is fixed
const AlignedSpinner = styled(Spinner)`
align-items: center;
display: flex;
justify-content: center;
margin-top: 4.5px;
svg {
width: 20px;
vertical-align: bottom !important;
}
`

Expand Down

0 comments on commit f698c92

Please sign in to comment.