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> </el-button-group>
<div> <div>
<el-form-item label="Show OTPs"> <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> </el-form-item>
</div> </div>
<div class="sort-options"> <div class="sort-options">
<span> <span>
<el-form-item label="Sort"> <el-form-item label="Sort">
<el-select <el-radio-group v-model="currentSort" @change="sortItems" fill="#67c23a">
v-model="currentSort" <el-radio-button label="A > Z" value="asc" />
placeholder="Select" <el-radio-button label="Z > A" value="desc" />
style="width: 80px" </el-radio-group>
@change="sortItems"
>
<el-option
v-for="item in sortOptions"
:key="item.key"
:label="item.name"
:value="item.key"
/>
</el-select>
</el-form-item> </el-form-item>
</span> </span>
</div> </div>

View File

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