Fix panel border not being shown correctly

Width was being rounded, and an extra 1% was added on, which meant you
would never see the scrollbars.
This commit is contained in:
Daniel Compton 2017-12-04 13:53:00 +13:00
parent 2cad7a3b9f
commit 5e4017cc94
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@
[:div.panel
{:style {:position "fixed" :z-index 1 :box-shadow "rgba(0, 0, 0, 0.3) 0px 0px 4px" :background "white"
:display "flex"
:left left :top "0px" :width (str (inc (int (* 100 @panel-width%))) "%") :height "100%"
:left left :top "0px" :width (str (* 100 @panel-width%) "%") :height "100%"
:transition transition}}
[:div.panel-resizer {:style (resizer-style draggable-area)
:on-mouse-down #(reset! dragging? true)}]