Skip to content

Commit

Permalink
Merge pull request #79 from concord-consortium/185267555-drawing-tool…
Browse files Browse the repository at this point in the history
…-wider-layout

Support new wideLayout option for use with labbook interactive. (PT-185267555)
  • Loading branch information
lublagg authored Jun 14, 2023
2 parents da3f176 + d55eb5f commit cb0536e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions app/scripts/ui/ui-manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ function UIManager(drawingTool) {
.addClass('dt-tools')
.prependTo(drawingTool.$element);

// Toolbar should be the height of the canvas.
this.$tools.css("height", this.drawingTool.options.height);

this._palettes = {};
this._buttons = {};
this._paletteActiveButton = {};
Expand Down
2 changes: 2 additions & 0 deletions app/styles/drawing-tool.scss
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ $text: Arial, sans-serif;
margin: 0;
position: relative;

background-color: #f5fbfc;

border: $border;
border-radius: $borderRadius 0 0 $borderRadius;
border-right: none;
Expand Down
2 changes: 1 addition & 1 deletion dist/drawing-tool.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "drawing-tool",
"description": "HTML5 Drawing Tool",
"author": "",
"version": "2.2.1",
"version": "2.3.0-pre.1",
"bugs": {
"url": "https://github.com/concord-consortium/drawing-tool/issues"
},
Expand Down

0 comments on commit cb0536e

Please sign in to comment.