mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-20 20:31:26 +02:00
Use the new CSS variable in dropdown menu.
This commit is contained in:
committed by
Mark Otto
parent
7a74f2c302
commit
6e2b21c200
@@ -48,7 +48,7 @@
|
||||
min-width: var(--#{$variable-prefix}dropdown-min-width);
|
||||
padding: var(--#{$variable-prefix}dropdown-padding);
|
||||
margin: 0; // Override default margin of ul
|
||||
@include font-size($dropdown-font-size);
|
||||
@include font-size(var(#{$vriable-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;
|
||||
|
Reference in New Issue
Block a user