website: search input add palceholder.

This commit is contained in:
jaywcjlove 2022-11-20 19:17:46 +08:00
parent 63adae9cbc
commit 473822f988
2 changed files with 5 additions and 1 deletions

View File

@ -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: [],
}, },
{ {

View File

@ -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;