mirror of
https://github.com/jackyzha0/quartz.git
synced 2026-03-24 15:05:42 -05:00
simplify search field, no words, only icon
This commit is contained in:
parent
e388b3c0f1
commit
c7d479ea40
@ -8,8 +8,8 @@ export default (() => {
|
||||
return (
|
||||
<div class="search">
|
||||
<div id="search-icon">
|
||||
<p>Search</p>
|
||||
<div></div>
|
||||
{/* <p>Search</p>
|
||||
<div></div> */}
|
||||
<svg
|
||||
tabIndex={0}
|
||||
aria-labelledby="title desc"
|
||||
|
||||
@ -2,11 +2,13 @@
|
||||
|
||||
.search {
|
||||
min-width: fit-content;
|
||||
max-width: 14rem;
|
||||
// max-width: 14rem;
|
||||
max-width: 18px;
|
||||
flex-grow: 0.3;
|
||||
|
||||
& > #search-icon {
|
||||
background-color: var(--lightgray);
|
||||
// background-color: var(--lightgray);
|
||||
background-color: transparent;
|
||||
border-radius: 4px;
|
||||
height: 2rem;
|
||||
display: flex;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user