Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGreta <gretadoci@gmail.com>2022-05-02 19:58:09 +0300
committerGitHub <noreply@github.com>2022-05-02 19:58:09 +0300
commit4951d098f7dd312482432ed1a48552d59bc9af16 (patch)
tree619230a7dcbda4e972770df016ba5d0adf594568 /src
parent68badc6ef8e9f07d9e758dbfd38532b69112988d (diff)
parent903c4d6b7c3708376a42104b8b478d7feec28d4b (diff)
Merge pull request #6306 from nextcloud/fix/6199-fix_alignment_of_composer_modal_errors
Make the alignment of composer modal errors to center
Diffstat (limited to 'src')
-rw-r--r--src/components/Composer.vue11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/components/Composer.vue b/src/components/Composer.vue
index adc792d27..2caa1e112 100644
--- a/src/components/Composer.vue
+++ b/src/components/Composer.vue
@@ -317,7 +317,7 @@
:hint="t('mail', 'Sending …')"
role="alert"
class="sending-hint" />
- <div v-else-if="state === STATES.ERROR" class="emptycontent" role="alert">
+ <EmptyContent v-else-if="state === STATES.ERROR" class="centered-content" role="alert">
<h2>{{ t('mail', 'Error sending your message') }}</h2>
<p v-if="errorText">
{{ errorText }}
@@ -328,7 +328,7 @@
<button class="button primary" @click="onSend">
{{ t('mail', 'Retry') }}
</button>
- </div>
+ </EmptyContent>
<div v-else-if="state === STATES.WARNING" class="emptycontent" role="alert">
<h2>{{ t('mail', 'Warning sending your message') }}</h2>
<p v-if="errorText">
@@ -1204,10 +1204,6 @@ export default {
background-color: transparent;
border: none;
}
-.emptycontent {
- margin-top: 250px;
- height: 120px;
-}
.send-action-radio {
padding: 5px 0 5px 0;
}
@@ -1220,6 +1216,9 @@ export default {
.send-button .send-icon {
padding-right: 5px;
}
+.centered-content {
+ margin-top: 0 !important;
+}
.composer-actions-right {
display: flex;
align-items: center;