DEV: widget-dropdown CSS tweaks (#10219)

* DEV: Remove the margin from widget-dropdown

Generic components should not have a margin. Those should be styled in the place where they are used.

* DEV: Remove margin from the dropdown body

It triggered a warning in popper and was effectively a no-op as popper positions dropdowns on its own using `position: fixed` and `top/right/bottom/left` properties.
This commit is contained in:
Jarek Radosz 2020-07-13 01:27:31 +02:00 committed by GitHub
parent 942cc9b57a
commit 6c91f795d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,4 @@
.widget-dropdown {
margin: 1em;
display: inline-flex;
box-sizing: border-box;
@ -14,7 +13,6 @@
flex-direction: column;
padding: 0.25em;
background: $secondary;
margin-top: 5px;
z-index: z("dropdown");
border: 1px solid $primary-low;
max-height: 250px;