Skip to content

Commit a92fd11

Browse files
authored
Change attachment popup title and buttons (#1253)
* Change attachment popup title color to white * Move buttons to right side
1 parent 43c2578 commit a92fd11

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

src/components/form-attachment/popups.vue

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,22 +56,22 @@ some point. -->
5656
</template>
5757
</i18n-t>
5858
</p>
59-
<p>
60-
<button type="button" class="btn btn-primary"
61-
@click="$emit('confirm')">
62-
{{ $t('action.looksGood') }}
63-
</button>
59+
<p class="modal-actions">
6460
<button type="button" class="btn btn-link"
6561
@click="$emit('cancel')">
6662
{{ $t('action.cancel') }}
6763
</button>
64+
<button type="button" class="btn btn-primary"
65+
@click="$emit('confirm')">
66+
{{ $t('action.looksGood') }}
67+
</button>
6868
</p>
6969
</template>
7070
<template v-else>
7171
<p>
7272
{{ $tc('afterSelection.noneMatched', unmatchedFiles.length) }}
7373
</p>
74-
<p>
74+
<p class="modal-actions">
7575
<button type="button" class="btn btn-primary"
7676
@click="$emit('cancel')">
7777
{{ $t('action.ok') }}
@@ -180,6 +180,7 @@ $popup-width: 300px;
180180
.dialog-header {
181181
padding: 15px;
182182
background-color: $color-action-background;
183+
color: #fff;
183184
184185
.icon-cloud-upload {
185186
animation-direction: alternate;
@@ -240,6 +241,10 @@ $popup-width: 300px;
240241
position: absolute;
241242
}
242243
}
244+
245+
.modal-actions {
246+
text-align: right;
247+
}
243248
}
244249
}
245250

0 commit comments

Comments
 (0)