Skip to content

Commit

Permalink
各种输入框有关
Browse files Browse the repository at this point in the history
  • Loading branch information
Aira-Sakuranomiya committed Oct 25, 2023
1 parent 5e33c31 commit 2c0ef17
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions assets/styles/elements/_reset.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,9 @@
label {
cursor: inherit;
}

// 移除搜索框旁边的叉。
input[type="search" i]::-webkit-search-cancel-button {
display: none;
}
}
2 changes: 1 addition & 1 deletion layouts/settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<header class="title content padding-end">
<header class="title nav-header">
<h1>{{ t.settings }}</h1>
<TextBox v-model="search" type="search" :placeholder="t.settings.search" />
<TextBox v-model="search" type="search" :placeholder="t.settings.search" icon="search" />
</header>
<TabBar v-model="currentSetting" vertical>
<Subheader icon="person">{{ t.settings.user }}</Subheader>
Expand Down
4 changes: 4 additions & 0 deletions pages/settings/security.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,9 @@
flex-direction: column;
gap: 16px;
}
.text-box {
--size: large;
}
}
</style>

0 comments on commit 2c0ef17

Please sign in to comment.