mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-02-19 14:44:39 +01:00
small UI fix for the search icon and placeholder of the search higlighting (#4422)
no changeset as it doesn't change a package, just an example.
This commit is contained in:
parent
ca9e2147c1
commit
40a12d7511
@ -48,8 +48,8 @@ const SearchHighlightingExample = () => {
|
||||
<Icon
|
||||
className={css`
|
||||
position: absolute;
|
||||
top: 0.5em;
|
||||
left: 0.5em;
|
||||
top: 0.3em;
|
||||
left: 0.4em;
|
||||
color: #ccc;
|
||||
`}
|
||||
>
|
||||
@ -60,7 +60,7 @@ const SearchHighlightingExample = () => {
|
||||
placeholder="Search the text..."
|
||||
onChange={e => setSearch(e.target.value)}
|
||||
className={css`
|
||||
padding-left: 2em;
|
||||
padding-left: 2.5em;
|
||||
width: 100%;
|
||||
`}
|
||||
/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user