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; }