stylesheets/components/_dropdowns.scss in rapido-css-0.1.6 vs stylesheets/components/_dropdowns.scss in rapido-css-0.1.7
- old
+ new
@@ -52,11 +52,11 @@
@if $dropdowns {
.dropdown,
.dropdown__toggle {
position: relative;
- display: inline-block;
+ @include inline-block;
}
.dropdown__toggle:focus { outline: 0; }
/*
@@ -108,11 +108,13 @@
margin: -$input-border 0 0 0;
max-height: 0;
min-width: 10em;
overflow: hidden;
z-index: $zindex-dropdown;
+ max-width: em($dropdowns-width);
+
&[data-content] { min-width: em(600px); }
&.pull-right {
right: 0;
left: auto;
@@ -175,10 +177,10 @@
}
.dropdown__menu {
@include opacity(1);
display/*\**/: block\9; // Ugly IE8 Hack
- max-height: $dropdowns-height;
+ max-height: em($dropdowns-height);
}
}