Skip to content

Commit

Permalink
Fix #10421 - Studio | Layout Editor CSS broken
Browse files Browse the repository at this point in the history
  • Loading branch information
serhiisamko091184 authored and jack7anderson7 committed Oct 15, 2024
1 parent 7a72220 commit 5f8062c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/ModuleBuilder/javascript/studio2.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ Studio2 = {
if (!Dom.get('panels'))
return;
var body = document.getElementById('mbtabs');
var targetHeight = body.clientHeight - (Dom.getY('panels') - Dom.getY(body)) - 32;
var targetHeight = body.clientHeight - (Dom.getY('toolbox') - Dom.getY(body)) - 32;
if (Studio2.isIE) targetHeight -= 10;
Dom.setStyle('panels', "height", targetHeight + "px");
Dom.setStyle('panels', "width" , ((Studio2.fieldwidth * 2) + 112) + "px");
Expand Down

0 comments on commit 5f8062c

Please sign in to comment.