logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: d87a1fda591a972571ce45dbb21bd193ef892555
parent 9ae8ff009817eae5ceaf632c1d76892d25467292
Author: Henry Jameson <me@hjkos.com>
Date:   Wed, 20 Apr 2022 00:37:08 +0300

fix scrollbars in dropdowns

Diffstat:

Msrc/components/notifications/notification_filters.vue8++------
Msrc/components/popover/popover.vue2+-
Msrc/panel.scss6+++---
3 files changed, 6 insertions(+), 10 deletions(-)

diff --git a/src/components/notifications/notification_filters.vue b/src/components/notifications/notification_filters.vue @@ -64,7 +64,7 @@ </div> </template> <template v-slot:trigger> - <button class="button-unstyled"> + <button class="filter-trigger-button button-unstyled"> <FAIcon icon="filter" /> </button> </template> @@ -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; - } } </style> diff --git 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 @@ -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; &,