From d87a1fda591a972571ce45dbb21bd193ef892555 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Wed, 20 Apr 2022 00:37:08 +0300 Subject: [PATCH] fix scrollbars in dropdowns --- src/components/notifications/notification_filters.vue | 8 ++------ src/components/popover/popover.vue | 2 +- src/panel.scss | 6 +++--- 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/src/components/notifications/notification_filters.vue b/src/components/notifications/notification_filters.vue index ba0e90a0..7418fc7c 100644 --- a/src/components/notifications/notification_filters.vue +++ b/src/components/notifications/notification_filters.vue @@ -64,7 +64,7 @@ @@ -106,17 +106,13 @@ export default { .NotificationFilters { align-self: stretch; - > button { + .filter-trigger-button { font-size: 1.2em; padding-left: 0.7em; padding-right: 0.2em; line-height: 100%; height: 100%; } - - .dropdown-item { - margin: 0; - } } diff --git a/src/components/popover/popover.vue b/src/components/popover/popover.vue index e1eb2c21..044b887d 100644 --- a/src/components/popover/popover.vue +++ b/src/components/popover/popover.vue @@ -95,7 +95,7 @@ line-height: 21px; overflow: auto; display: block; - padding: .5em 0.75em; + padding: 0.25em 0.75em; clear: both; font-weight: 400; text-align: inherit; diff --git a/src/panel.scss b/src/panel.scss index f3e51d39..147b17a9 100644 --- a/src/panel.scss +++ b/src/panel.scss @@ -110,8 +110,8 @@ overflow-x: hidden; } - .button-default, - .alert { + > .button-default, + > .alert { height: var(--__panel-heading-height-inner); min-height: 0; box-sizing: border-box; @@ -122,7 +122,7 @@ padding-bottom: 0; } - .button-default { + > .button-default { flex-shrink: 0; &,