fix: no gender badge color

This commit is contained in:
puriphatt 2024-07-03 02:46:27 +00:00
parent e490d0a492
commit 7de0f225e6
3 changed files with 9 additions and 2 deletions

View file

@ -254,7 +254,7 @@ function reset() {
.badge {
display: inline-block;
border-radius: var(--radius-6);
background-color: var(--surface-2);
background-color: var(--surface-tab);
text-wrap: nowrap;
}
</style>

View file

@ -220,6 +220,7 @@ defineEmits<{
'bg-gender__male': !v.disabled && v.male,
'bg-gender__female': !v.disabled && v.female,
'bg-gender__disable': v.disabled,
empty: !v.male && !v.female,
}"
>
{{ v.badge }}
@ -381,6 +382,10 @@ defineEmits<{
border-radius: var(--radius-6);
background-color: var(--surface-2);
text-wrap: nowrap;
&.empty {
background-color: var(--surface-tab);
}
}
.edit-profile {