style: refs #7186 fixed style
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Jon Elias 2024-04-10 08:49:54 +02:00
parent f9de26933a
commit 09ceefb7c5
1 changed files with 3 additions and 9 deletions

View File

@ -217,9 +217,8 @@ async function addExpense() {
<QIcon <QIcon
@click.stop.prevent="newExpenseRef.show()" @click.stop.prevent="newExpenseRef.show()"
:name="actionIcon" :name="actionIcon"
:size="actionIcon === 'add' ? 'xs' : 'sm'" size="xs"
:class="['default-icon', { '--add-icon': actionIcon === 'add' }]" class="default-icon"
:style="fill-icon"
> >
<QTooltip> <QTooltip>
{{ t('Create expense') }} {{ t('Create expense') }}
@ -479,14 +478,9 @@ async function addExpense() {
} }
.default-icon { .default-icon {
cursor: pointer; cursor: pointer;
color: $primary;
border-radius: 50px; border-radius: 50px;
&.--add-icon {
color: var(--vn-text-color);
background-color: $primary; background-color: $primary;
} }
}
</style> </style>
<i18n> <i18n>
es: es: