cgkineo / adapt-search

Keyword-search extension for Adapt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

search-drawer (textbox) overflows drawer

chucklorenz opened this issue · comments

The search-drawer contains the text input. It overflows the drawer on iPhone and IE11 as seen in the image below. search.less assigns 'initial' to 'width'.

.search-drawer {
    width: initial !important;
    &:hover {
        background-color:initial !important;
    }
}

IE11 doesn't recognize 'initial'; and, apparently, iOS has some issue with the current Less. Both were fixed by using 'auto' instead of 'initial'. A quick, incomprehensive check with the browsers I had on hand, showed desktop browsers worked just fine with 'auto' instead of 'initial'.

image-20170917-215516