summaryrefslogtreecommitdiffstats
path: root/apps/updatenotification/src
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-11-08 14:19:46 +0100
committerMorris Jobke <hey@morrisjobke.de>2018-11-08 14:19:46 +0100
commit90a35aab2970dd22c1503fcec73da1057efba491 (patch)
tree22dc3481d5e7654bc35d690f02bf6fbb62011d7a /apps/updatenotification/src
parent78fd8ab0fd362fd5d568dfc5b47a02158e62d51c (diff)
downloadnextcloud-server-90a35aab2970dd22c1503fcec73da1057efba491.tar.gz
nextcloud-server-90a35aab2970dd22c1503fcec73da1057efba491.zip
Fix overlapping update button in notifications
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/updatenotification/src')
-rw-r--r--apps/updatenotification/src/components/root.vue11
1 files changed, 7 insertions, 4 deletions
diff --git a/apps/updatenotification/src/components/root.vue b/apps/updatenotification/src/components/root.vue
index a599b8da73d..efe7375a4b4 100644
--- a/apps/updatenotification/src/components/root.vue
+++ b/apps/updatenotification/src/components/root.vue
@@ -37,8 +37,10 @@
</ul>
</template>
- <a v-if="updaterEnabled" href="#" class="button" @click="clickUpdaterButton">{{ t('updatenotification', 'Open updater') }}</a>
- <a v-if="downloadLink" :href="downloadLink" class="button" :class="{ hidden: !updaterEnabled }">{{ t('updatenotification', 'Download now') }}</a>
+ <p>
+ <a v-if="updaterEnabled" href="#" class="button" @click="clickUpdaterButton">{{ t('updatenotification', 'Open updater') }}</a>
+ <a v-if="downloadLink" :href="downloadLink" class="button" :class="{ hidden: !updaterEnabled }">{{ t('updatenotification', 'Download now') }}</a>
+ </p>
<div class="whatsNew" v-if="whatsNew">
<div class="toggleWhatsNew">
<span v-click-outside="hideMenu" @click="toggleMenu">{{ t('updatenotification', 'What\'s new?') }}</span>
@@ -55,8 +57,9 @@
</template>
<template v-if="!isDefaultUpdateServerURL">
- <br />
- <em>{{ t('updatenotification', 'A non-default update server is in use to be checked for updates:') }} <code>{{updateServerURL}}</code></em>
+ <p>
+ <em>{{ t('updatenotification', 'A non-default update server is in use to be checked for updates:') }} <code>{{updateServerURL}}</code></em>
+ </p>
</template>
</div>