Skip to content

Commit

Permalink
make the code editor full height
Browse files Browse the repository at this point in the history
  • Loading branch information
ZihengSun committed Mar 24, 2024
1 parent 4ae5338 commit bed8f27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/resources/static/js/gw.editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ GW.editor = {
// subtabHistoryDiv.height('calc(100% - 150px)');
sidepanel.height("100%");
sidepanel.width("40%");
$("#prompt-panel-main").height("calc(100% - 105px)");
$("#prompt-panel-main").height("calc(100% - 95px)");
$("#prompt-panel-main-process-info-code").height("100%");
$("#prompt-panel-main-process-info-history").height("100%");
GW.process.sidepanel.bottomDock();
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/geoweaver.html
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ <h3 style="margin:5px;">Process Details</h3>
</header> -->

<div class="cd-panel__container">
<div class="cd-panel__content" id="prompt-panel-main" style="height:calc(100% - 105px); width:100%;">
<div class="cd-panel__content" id="prompt-panel-main" style="height:calc(100% - 95px); width:100%;">
<!-- your side panel content here -->
</div> <!-- cd-panel__content -->
</div> <!-- cd-panel__container -->
Expand Down

0 comments on commit bed8f27

Please sign in to comment.