1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-31 00:59:51 +02:00

Fix dropdowns

This commit is contained in:
louismaxime.piton
2022-03-08 12:34:21 +01:00
committed by Mark Otto
parent 2d11c1c28a
commit 6c40476af9
2 changed files with 19 additions and 3 deletions

View File

@@ -51,7 +51,7 @@
min-width: var(--#{$variable-prefix}dropdown-min-width);
padding: var(--#{$variable-prefix}dropdown-padding-y) var(--#{$variable-prefix}dropdown-padding-x);
margin: 0; // Override default margin of ul
@include font-size(var(#{$variable-prefix}dropdown-font-size));
@include font-size(var(--#{$variable-prefix}dropdown-font-size));
color: var(--#{$variable-prefix}dropdown-color);
text-align: left; // Ensures proper alignment if parent has it changed (e.g., modal footer)
list-style: none;