Commit 6321934c authored by Frederic Massart's avatar Frederic Massart Committed by Dan Poltawski
Browse files

MDL-56205 theme_boost: Adjust margin between icon and caret in dropdowns

parent 751122db
......@@ -17,10 +17,6 @@
.dropdown-toggle {
/* So that the caret takes the colour of the icon. */
color: #999;
&::after {
margin-left: 0;
}
}
}
......
......@@ -26,9 +26,15 @@ a:first-of-type > .icon {
margin-left: 0;
}
// Fix the first item in a drop down menu (it's a list of links and icons, but has been made vertical.
.dropdown .dropdown-item .icon {
margin-left: 0;
// Fix the space between the dropdown icon and the caret.
.action-menu {
.dropdown-toggle {
.icon {
// Use a negative margin on the icon to ensure that the dropdown toggle
// is an icon and not just text in which case the margin is needed.
margin-right: -$caret-width;
}
}
}
// YUI 2 Tree View icons must not have a margin left.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment