diff --git a/client.js b/client.js index ee325d02..96ec3bac 100644 --- a/client.js +++ b/client.js @@ -1100,8 +1100,11 @@ CloudClient.baseInit = (function(){ Util.cssSet({id:'show_2panels', element:document.head, - inner:'#left{width:46%;}' + - '.panel{height:' + lHeight +'px' + inner: + '.panel{' + + 'height:' + lHeight +'px;' + + 'width:46%;' + + '}' }); }); diff --git a/css/style.css b/css/style.css index 9103b070..083a29df 100644 --- a/css/style.css +++ b/css/style.css @@ -163,7 +163,6 @@ background:url(/img/panel_refresh.png) 0 -15px no-repeat; } #left{ float:left; - width:90%; } /* фон файла, на котором курсор*/ .current-file{ @@ -323,7 +322,7 @@ a:focus { outline: thin dotted; } } @media only screen and (min-width: 601px) and (max-width: 785px){ .panel{ - width:90% !important; + width:94% !important; } #right{ display:none; @@ -332,7 +331,7 @@ a:focus { outline: thin dotted; } @media only screen and (min-width:786px) and (max-width: 1155px){ .panel{ - width:90% !important; + width:94% !important; } /* если правая панель не помещаеться - прячем её */ #right{