diff options
author | Jude <julie_wang1@brown.edu> | 2019-03-09 11:28:34 -0500 |
---|---|---|
committer | Jude <julie_wang1@brown.edu> | 2019-03-09 11:28:34 -0500 |
commit | f858a4fc74476c5720cc215c70f12733d757d085 (patch) | |
tree | 3a984187eec283ae056448bbf3d1aa429161aaad /src/client/views/DocumentDecorations.tsx | |
parent | 2d9c1fd55c4d2c9bf275aeaf6a83703cebba374f (diff) |
improved text node and reduced selection border thickness
Diffstat (limited to 'src/client/views/DocumentDecorations.tsx')
-rw-r--r-- | src/client/views/DocumentDecorations.tsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx index 9fd73a33b..36395ed0d 100644 --- a/src/client/views/DocumentDecorations.tsx +++ b/src/client/views/DocumentDecorations.tsx @@ -149,10 +149,10 @@ export class DocumentDecorations extends React.Component { } return ( <div id="documentDecorations-container" style={{ - width: (bounds.r - bounds.x + 40) + "px", - height: (bounds.b - bounds.y + 40) + "px", - left: bounds.x - 20, - top: bounds.y - 20, + width: (bounds.r - bounds.x + 20) + "px", + height: (bounds.b - bounds.y + 20) + "px", + left: bounds.x - 10, + top: bounds.y - 10, }}> <div id="documentDecorations-topLeftResizer" className="documentDecorations-resizer" onPointerDown={this.onPointerDown} onContextMenu={(e) => e.preventDefault()}></div> <div id="documentDecorations-topResizer" className="documentDecorations-resizer" onPointerDown={this.onPointerDown} onContextMenu={(e) => e.preventDefault()}></div> |