mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Merge pull request #381 from gradido/350-4-alert-white-on-red-is-not-good
change design- dark-blue of text-ligth
This commit is contained in:
commit
9001959989
@ -41,17 +41,7 @@ describe('GddSend', () => {
|
||||
|
||||
describe('warning messages', () => {
|
||||
it('has a warning message', () => {
|
||||
expect(wrapper.find('div.alert-warning').find('span').text()).toBe('form.attention')
|
||||
})
|
||||
|
||||
it('has a dismiss button', () => {
|
||||
expect(wrapper.find('div.alert-warning').find('button').exists()).toBeTruthy()
|
||||
})
|
||||
|
||||
it('dismisses the warning when button is clicked', async () => {
|
||||
wrapper.find('div.alert-warning').find('button').trigger('click')
|
||||
await wrapper.vm.$nextTick()
|
||||
expect(wrapper.find('div.alert-warning').exists()).toBeFalsy()
|
||||
expect(wrapper.find('div.alert-default').find('span').text()).toBe('form.attention')
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
<div class="gdd-send">
|
||||
<b-row v-show="showTransactionList">
|
||||
<b-col xl="12" md="12">
|
||||
<b-alert show dismissible variant="warning" class="text-center">
|
||||
<span class="alert-text" v-html="$t('form.attention')"></span>
|
||||
<b-alert show dismissible variant="default" class="text-center">
|
||||
<span class="alert-text h3 text-light" v-html="$t('form.attention')"></span>
|
||||
</b-alert>
|
||||
<b-card class="p-0 p-md-3" style="background-color: #ebebeba3 !important">
|
||||
<b-alert show variant="secondary">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user