summaryrefslogtreecommitdiffstats
path: root/settings/src
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-06-07 16:23:39 +0200
committerMorris Jobke <hey@morrisjobke.de>2018-06-29 09:08:33 +0200
commita9e59ff732e7ebbe1940896b0a2a08ef109b37ac (patch)
treee1488e644b515e2ae6584be56da50d372fdfe0fd /settings/src
parent427ac19e910f685db7aeace676ed4d48f74189c8 (diff)
downloadnextcloud-server-a9e59ff732e7ebbe1940896b0a2a08ef109b37ac.tar.gz
nextcloud-server-a9e59ff732e7ebbe1940896b0a2a08ef109b37ac.zip
Popover design fixes and settings update
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'settings/src')
-rw-r--r--settings/src/components/popoverMenu/popoverItem.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/src/components/popoverMenu/popoverItem.vue b/settings/src/components/popoverMenu/popoverItem.vue
index dc4008a7e51..33f78f549a9 100644
--- a/settings/src/components/popoverMenu/popoverItem.vue
+++ b/settings/src/components/popoverMenu/popoverItem.vue
@@ -23,7 +23,7 @@
<template>
<li>
<!-- If item.href is set, a link will be directly used -->
- <a @click="item.action" v-if="item.href" :href="(item.href) ? item.href : '#' ">
+ <a @click="item.action" v-if="item.href" :href="(item.href) ? item.href : '#' " :target="(item.target) ? item.target : '' " rel="noreferrer noopener">
<span :class="item.icon"></span>
<span v-if="item.text">{{item.text}}</span>
<p v-else-if="item.longtext">{{item.longtext}}</p>
@@ -35,7 +35,7 @@
<p v-else-if="item.longtext">{{item.longtext}}</p>
</button>
<!-- If item.longtext is set AND the item does not have an action -->
- <span v-else>
+ <span class="menuitem" v-else>
<span :class="item.icon"></span>
<span v-if="item.text">{{item.text}}</span>
<p v-else-if="item.longtext">{{item.longtext}}</p>