Commit 5d307fdf authored by Antoine Cellerier's avatar Antoine Cellerier

Consitent min width with css version (thanks to deplifer)

parent f52eac25
......@@ -5,7 +5,7 @@
<script>
function setWidth(){
var windowWidth = element.document.compatMode == 'CSS1Compat' ? element.document.documentElement.clientWidth : element.document.body.clientWidth;
element.runtimeStyle.width = windowWidth < 756 ? 756 : 100+'%';
element.runtimeStyle.width = windowWidth < 750 ? 750 : 100+'%';
}
</script>
</public:component>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment