From adda60234dee62a5e7748f9fcb3c4f53ea48721f Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Thu, 16 Jan 2014 11:02:56 -0700 Subject: [PATCH] Render a right/column border on all but the last child of a row/column Previously, we were only rendering a right border on pane children of a row, which meant that we didn't render borders when columns nested inside of rows. Also, when the tab strip wasn't present it was impossible to distinguish horizontal splits. --- stylesheets/panes.less | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/stylesheets/panes.less b/stylesheets/panes.less index f3e502c..32706c9 100644 --- a/stylesheets/panes.less +++ b/stylesheets/panes.less @@ -17,8 +17,13 @@ } } - .pane-row .pane { + .pane-row > * { border-right: 1px solid @pane-item-border-color; &:last-child { border-right: none; } } + + .pane-column > * { + border-bottom: 1px solid @pane-item-border-color; + &:last-child { border-bottom: none; } + } }