Remove forced 100% width on select to allow custom dropwdown arrow (#4229)

master
Zaahir Moolla 2017-05-25 17:31:41 -04:00 committed by PJ Hampton
parent be057cf5ec
commit c6e5e95641
3 changed files with 2 additions and 7 deletions

View File

@ -1,7 +1,7 @@
<!-- the bottom input section to change the unit type -->
<div class="frm frm--top">
<div class="frm__select">
<select class="frm__select--bottom"></select>
<select class="frm__select--top"></select>
</div>
</div>

View File

@ -17,11 +17,6 @@
width: 100%;
}
.zci--conversions .frm--top .frm__select--bottom {
width: 100% !important;
}
.zci--conversions .frm--top {
margin-bottom: 1em;
}

View File

@ -24,7 +24,7 @@ DDH.conversions = DDH.conversions || {};
$selects = $root.find(".frm--bottom select");
$select_right = $root.find(".frm__select--right");
$select_left = $root.find(".frm__select--left");
$unitSelector = $root.find(".frm__select--bottom");
$unitSelector = $root.find(".frm__select--top");
localDOMInitialized = true;
}