colour consistency on top buttons

This commit is contained in:
Gourav Kumar 2024-08-11 20:01:43 +05:30
parent 846e9a7aa5
commit b0a0e23090
2 changed files with 13 additions and 14 deletions

View File

@ -17,25 +17,21 @@
</el-button-group>
<div>
<el-form-item label="Show OTPs">
<el-switch v-model="showSecrets" active-value="yes" inactive-value="no" />
<el-switch
v-model="showSecrets"
active-value="yes"
inactive-value="no"
style="--el-switch-on-color: #67c23a"
/>
</el-form-item>
</div>
<div class="sort-options">
<span>
<el-form-item label="Sort">
<el-select
v-model="currentSort"
placeholder="Select"
style="width: 80px"
@change="sortItems"
>
<el-option
v-for="item in sortOptions"
:key="item.key"
:label="item.name"
:value="item.key"
/>
</el-select>
<el-radio-group v-model="currentSort" @change="sortItems" fill="#67c23a">
<el-radio-button label="A > Z" value="asc" />
<el-radio-button label="Z > A" value="desc" />
</el-radio-group>
</el-form-item>
</span>
</div>

View File

@ -107,6 +107,7 @@ export default {
.issuer {
font-weight: 700;
/* max-width: 140px; */
}
.user {
@ -122,6 +123,8 @@ export default {
.card-top {
display: flex;
justify-content: space-between;
max-width: 140px;
overflow: hidden;
}
.card-button {
position: relative;