fix scrollbars in dropdowns

This commit is contained in:
Henry Jameson 2022-04-20 00:37:08 +03:00
parent 9ae8ff0098
commit d87a1fda59
3 changed files with 6 additions and 10 deletions

View file

@ -64,7 +64,7 @@
</div> </div>
</template> </template>
<template v-slot:trigger> <template v-slot:trigger>
<button class="button-unstyled"> <button class="filter-trigger-button button-unstyled">
<FAIcon icon="filter" /> <FAIcon icon="filter" />
</button> </button>
</template> </template>
@ -106,17 +106,13 @@ export default {
.NotificationFilters { .NotificationFilters {
align-self: stretch; align-self: stretch;
> button { .filter-trigger-button {
font-size: 1.2em; font-size: 1.2em;
padding-left: 0.7em; padding-left: 0.7em;
padding-right: 0.2em; padding-right: 0.2em;
line-height: 100%; line-height: 100%;
height: 100%; height: 100%;
} }
.dropdown-item {
margin: 0;
}
} }
</style> </style>

View file

@ -95,7 +95,7 @@
line-height: 21px; line-height: 21px;
overflow: auto; overflow: auto;
display: block; display: block;
padding: .5em 0.75em; padding: 0.25em 0.75em;
clear: both; clear: both;
font-weight: 400; font-weight: 400;
text-align: inherit; text-align: inherit;

View file

@ -110,8 +110,8 @@
overflow-x: hidden; overflow-x: hidden;
} }
.button-default, > .button-default,
.alert { > .alert {
height: var(--__panel-heading-height-inner); height: var(--__panel-heading-height-inner);
min-height: 0; min-height: 0;
box-sizing: border-box; box-sizing: border-box;
@ -122,7 +122,7 @@
padding-bottom: 0; padding-bottom: 0;
} }
.button-default { > .button-default {
flex-shrink: 0; flex-shrink: 0;
&, &,