mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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:
parent
942cc9b57a
commit
6c91f795d0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user