Skip to content

Commit

Permalink
Adding a 2px border to the container as well as the drag handle
Browse files Browse the repository at this point in the history
  • Loading branch information
ciaranj authored and ericabouaf committed Oct 28, 2010
1 parent 94f757b commit ee59297
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/WireIt.css
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ div.WireIt-Container div.body {
}

div.WireIt-Container-ddhandle {
width: 100%;
height: 22px;
background-color: #3366CC;
cursor: move;
Expand All @@ -81,6 +80,7 @@ div.WireIt-Container-ddhandle {
padding-top: 3px;
line-height:150%;
color:white;
border: 2px solid #3366CC;
font-weight:bold;
text-align:center;
font-size: 10pt;
Expand Down
2 changes: 1 addition & 1 deletion js/CanvasContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ YAHOO.lang.extend(WireIt.CanvasContainer, WireIt.Container, {

// resize the canvas
// TODO: do not hardcode those sizes !!
this.canvasWidth = (size[0]-14);
this.canvasWidth = (size[0]-10);
this.canvasHeight = (size[1]-( this.ddHandle ? 44 : 14) );
this.canvasEl.SetCanvasRegion(0,0, this.canvasWidth, this.canvasHeight );

Expand Down

0 comments on commit ee59297

Please sign in to comment.