aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2018-06-06 12:09:32 +0200
committerMorris Jobke <hey@morrisjobke.de>2018-06-29 09:08:33 +0200
commit427ac19e910f685db7aeace676ed4d48f74189c8 (patch)
treefe1e696e4f8bcec5e0ed5e9c2f2ec395ce2fb296 /apps
parent3fa5e460191327b07d5a5ad926dacd164dd17085 (diff)
downloadnextcloud-server-427ac19e910f685db7aeace676ed4d48f74189c8.tar.gz
nextcloud-server-427ac19e910f685db7aeace676ed4d48f74189c8.zip
adjust and reuse apps.css, makes additional class and rules unnecessary
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps')
-rw-r--r--apps/updatenotification/css/admin.css15
-rw-r--r--apps/updatenotification/js-src/components/popoverMenu/popoverItem.vue2
2 files changed, 3 insertions, 14 deletions
diff --git a/apps/updatenotification/css/admin.css b/apps/updatenotification/css/admin.css
index 714056dadfc..9ebf8021545 100644
--- a/apps/updatenotification/css/admin.css
+++ b/apps/updatenotification/css/admin.css
@@ -53,20 +53,9 @@
position: relative;
}
-#updatenotification .item-wrapper {
- display: flex;
- align-items: flex-start;
- padding-right: 10px;
-}
-
-#updatenotification .item-wrapper p {
+#updatenotification .popovermenu p {
margin-bottom: 0;
- padding-top: 10px;
-}
-
-#updatenotification .item-wrapper span[class^="icon-"] {
- padding: 19px 0 19px 22px;
- line-height: 38px;
+ width: 100%;
}
#updatenotification .popovermenu {
diff --git a/apps/updatenotification/js-src/components/popoverMenu/popoverItem.vue b/apps/updatenotification/js-src/components/popoverMenu/popoverItem.vue
index 6d743a8d3a6..0d6113251dd 100644
--- a/apps/updatenotification/js-src/components/popoverMenu/popoverItem.vue
+++ b/apps/updatenotification/js-src/components/popoverMenu/popoverItem.vue
@@ -13,7 +13,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 class="item-wrapper" v-else>
+ <span v-else>
<span :class="item.icon"></span>
<span v-if="item.text">{{item.text}}</span>
<p v-else-if="item.longtext">{{item.longtext}}</p>