Merge pull request #6565 from Ocelot-Social-Community/3086-avoid-red-color-for-non-essential-things--new

feat(webapp): change color red to green on cancel buttons of post and comments
This commit is contained in:
Hannes Heine 2023-07-20 13:27:53 +02:00 committed by GitHub
commit 0b1e377df5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 8 deletions

View File

@ -8,7 +8,6 @@
:disabled="disabled && !update"
@click="handleCancel"
data-test="cancel-button"
danger
>
{{ $t('actions.cancel') }}
</base-button>

View File

@ -169,12 +169,7 @@
</ds-flex-item>
<ds-flex-item width="0.15" />
<ds-flex-item class="action-buttons-group" width="2">
<base-button
data-test="cancel-button"
:disabled="loading"
@click="$router.back()"
danger
>
<base-button data-test="cancel-button" :disabled="loading" @click="$router.back()">
{{ $t('actions.cancel') }}
</base-button>
<base-button type="submit" icon="check" :loading="loading" :disabled="errors" filled>

View File

@ -56,7 +56,7 @@
>
{{ isEditing ? $t('actions.save') : texts.addButton }}
</base-button>
<base-button v-if="isEditing" id="cancel" danger @click="handleCancel()">
<base-button v-if="isEditing" id="cancel" @click="handleCancel()">
{{ $t('actions.cancel') }}
</base-button>
</ds-space>