Fix tall search box in Firefox

* FF has an issue with flexbox and set width
* setting flex only when focused
This commit is contained in:
David Kaltschmidt
2016-06-14 15:52:23 +02:00
parent b4abe582f4
commit 8a845ecbac

View File

@@ -1271,8 +1271,7 @@ h2 {
border-radius: 0;
background: transparent;
color: @text-color;
flex: 1;
width: 60px;
width: 100px;
&:focus {
outline: none;
@@ -1320,6 +1319,12 @@ h2 {
transition: transform 0.3s 0.3s @base-ease, opacity 0.3s 0.3s @base-ease;
}
&-focused &-input-field,
&-filled &-input-field,
&-pinned &-input-field {
flex: 1;
}
&-focused,
&-filled,
&-pinned {