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',
|
||||
tagName: 'input',
|
||||
properties: { id: ['mysearch-input'], type: 'search' },
|
||||
properties: { id: ['mysearch-input'], type: 'search', placeholder: '搜索备忘清单' },
|
||||
children: [],
|
||||
},
|
||||
{
|
||||
|
@ -1260,6 +1260,10 @@ body.search {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.mysearch-input input::placeholder {
|
||||
font-weight: normal;
|
||||
font-size: 1.3rem;
|
||||
}
|
||||
.mysearch-input {
|
||||
height: 3.5rem;
|
||||
display: flex;
|
||||
|
Loading…
x
Reference in New Issue
Block a user