From d6cc626241c647c535fddc5737a9ac38816e03ca Mon Sep 17 00:00:00 2001 From: James Agnew Date: Mon, 15 Sep 2014 14:32:34 -0400 Subject: [PATCH] Fix IE8/9 issue where form elements don't display --- .../src/main/webapp/resources/css/mitreid-connect.css | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/openid-connect-server-webapp/src/main/webapp/resources/css/mitreid-connect.css b/openid-connect-server-webapp/src/main/webapp/resources/css/mitreid-connect.css index 5ce459f6f..b69945c40 100644 --- a/openid-connect-server-webapp/src/main/webapp/resources/css/mitreid-connect.css +++ b/openid-connect-server-webapp/src/main/webapp/resources/css/mitreid-connect.css @@ -129,11 +129,18 @@ h1,label { .input-prepend.input-block-level > input { box-sizing: border-box; /* use bootstrap mixin or include vendor variants */ -moz-box-sizing: border-box; /* for Firefox */ - display: table; /* table-cell is not working well in Chrome for small widths */ min-height: inherit; width: 100%; } +/* This block applies to Chrome only */ +@media screen and (-webkit-min-device-pixel-ratio:0) { + .input-append.input-block-level > input, + .input-prepend.input-block-level > input { + display: table; /* table-cell is not working well in Chrome for small widths */ + } +} } + .input-append.input-block-level > input { border-right: 0; }