add fallback for Opera because it doesn’t support calc. See #49

This commit is contained in:
Stefan Breunig
2013-02-08 17:59:20 +01:00
parent f5edc84635
commit b0a3f3c604

View File

@ -146,6 +146,7 @@ em {
#chat > div { #chat > div {
overflow-x:hidden; overflow-x:hidden;
overflow-y:scroll; overflow-y:scroll;
height: 100%; /* fallback for Opera which doesnt support calc */
height: calc(100% - 4px); height: calc(100% - 4px);
height: -webkit-calc(100% - 4px); height: -webkit-calc(100% - 4px);
height: -moz-calc(100% - 4px); height: -moz-calc(100% - 4px);