From d11317c9b3fdc4385fee2ab0614dcfcde89bb4ff Mon Sep 17 00:00:00 2001 From: Jon Rohan Date: Mon, 21 Jan 2013 17:22:45 -0800 Subject: [PATCH] some style updates to the resizer --- .atom/themes/Atom - Dark/tree-view.css | 7 +++++-- src/packages/tree-view/src/tree-view.coffee | 1 - 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.atom/themes/Atom - Dark/tree-view.css b/.atom/themes/Atom - Dark/tree-view.css index 6376a0c09..1d1357e60 100644 --- a/.atom/themes/Atom - Dark/tree-view.css +++ b/.atom/themes/Atom - Dark/tree-view.css @@ -11,11 +11,14 @@ } .tree-view .tree-view-resizer { - float: right; - height: 100%; + position: absolute; + top: 0; + right: 0; + bottom: 0; width: 10px; background: transparent; cursor: col-resize; + z-index: 3; } .tree-view .entry { diff --git a/src/packages/tree-view/src/tree-view.coffee b/src/packages/tree-view/src/tree-view.coffee index 6cee5f8af..69169789d 100644 --- a/src/packages/tree-view/src/tree-view.coffee +++ b/src/packages/tree-view/src/tree-view.coffee @@ -135,7 +135,6 @@ class TreeView extends ScrollView resizeTreeView: (e) => @css(width: e.pageX) - @resizer.css(left: e.pageX) updateRoot: -> @root?.remove()