From 427ac19e910f685db7aeace676ed4d48f74189c8 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Wed, 6 Jun 2018 12:09:32 +0200 Subject: [PATCH] adjust and reuse apps.css, makes additional class and rules unnecessary Signed-off-by: Arthur Schiwon --- apps/updatenotification/css/admin.css | 15 ++------------- .../js-src/components/popoverMenu/popoverItem.vue | 2 +- core/css/apps.scss | 1 + 3 files changed, 4 insertions(+), 14 deletions(-) diff --git a/apps/updatenotification/css/admin.css b/apps/updatenotification/css/admin.css index 714056dadf..9ebf802154 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 6d743a8d3a..0d6113251d 100644 --- a/apps/updatenotification/js-src/components/popoverMenu/popoverItem.vue +++ b/apps/updatenotification/js-src/components/popoverMenu/popoverItem.vue @@ -13,7 +13,7 @@

{{item.longtext}}

- + {{item.text}}

{{item.longtext}}

diff --git a/core/css/apps.scss b/core/css/apps.scss index 13b4c7eb9f..be6bf0738e 100644 --- a/core/css/apps.scss +++ b/core/css/apps.scss @@ -869,6 +869,7 @@ $popovericon-size: 16px; flex: 0 0 auto; > button, > a, + > span, > .menuitem { cursor: pointer; line-height: $popoveritem-height;