From 7a5654d9682f0f0836e547d986207efd3f4e995a Mon Sep 17 00:00:00 2001 From: jlukic Date: Fri, 27 Mar 2015 12:12:15 -0400 Subject: [PATCH] All inputs now use flexbox, adjust flex-grow value to fix ie10 --- src/definitions/elements/input.less | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/definitions/elements/input.less b/src/definitions/elements/input.less index 3d35ac6c2..3255f1cf0 100755 --- a/src/definitions/elements/input.less +++ b/src/definitions/elements/input.less @@ -30,12 +30,12 @@ .ui.input { position: relative; - display: inline-block; + display: inline-flex; color: @inputColor; } .ui.input input { margin: 0em; - width: 100%; + flex-grow: 1; outline: none; -webkit-tap-highlight-color: rgba(255, 255, 255, 0); text-align: @textAlign; @@ -278,7 +278,7 @@ display: inline-flex; } .ui.labeled.input > .label { - flex: 1 0 auto; + flex-grow: 0; margin: 0; font-size: 1em; } @@ -344,7 +344,7 @@ .ui.action.input > .button, .ui.action.input > .buttons { - flex: 1 0 auto; + flex-grow: 0; } .ui.action.input > .button, .ui.action.input > .buttons > .button {