diff --git a/core-splitter.css b/core-splitter.css index 1a36609..75d62d0 100644 --- a/core-splitter.css +++ b/core-splitter.css @@ -14,14 +14,14 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN box-shadow: inset 0 0 2px 1px #ccc; cursor: col-resize; } - + :host(.horizontal) { width: auto; height: 12px; cursor: row-resize; background-image: url(handle-h.svg); } - + :host(:hover, :active) { background-color: #ddd; -} \ No newline at end of file +} diff --git a/core-splitter.html b/core-splitter.html index 7f45989..15daa98 100644 --- a/core-splitter.html +++ b/core-splitter.html @@ -21,9 +21,9 @@
right
- + In the above example, dragging the splitter will resize the _left_ element. And -since the parent container is a flexbox and the _right_ element has +since the parent container is a flexbox and the _right_ element has `flex`, the _right_ elemnt will be auto-resized. For horizontal splitter set `direction` to "up" or "down". @@ -43,17 +43,17 @@ - - + +