website: search input add palceholder.
This commit is contained in:
parent
63adae9cbc
commit
473822f988
@ -62,7 +62,7 @@ export function search({ homePath = '', isHome } = {}) {
|
|||||||
{
|
{
|
||||||
type: 'element',
|
type: 'element',
|
||||||
tagName: 'input',
|
tagName: 'input',
|
||||||
properties: { id: ['mysearch-input'], type: 'search' },
|
properties: { id: ['mysearch-input'], type: 'search', placeholder: '搜索备忘清单' },
|
||||||
children: [],
|
children: [],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -1260,6 +1260,10 @@ body.search {
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.mysearch-input input::placeholder {
|
||||||
|
font-weight: normal;
|
||||||
|
font-size: 1.3rem;
|
||||||
|
}
|
||||||
.mysearch-input {
|
.mysearch-input {
|
||||||
height: 3.5rem;
|
height: 3.5rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user