From c9c310f13b4f035fcda20bb6b05b0e4ffd801400 Mon Sep 17 00:00:00 2001 From: Jeff Nusz Date: Tue, 14 Mar 2017 17:06:32 -0700 Subject: [PATCH] fix color selector to stay in place on gui scroll --- src/dat/gui/_structure.scss | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/dat/gui/_structure.scss b/src/dat/gui/_structure.scss index 9e316a2..9bea2a1 100644 --- a/src/dat/gui/_structure.scss +++ b/src/dat/gui/_structure.scss @@ -103,6 +103,7 @@ $button-height: 20px; li { @include transition(height, 0.1s, ease-out); + @include transition(overflow, 0.1s, linear); } /* Line items that don't contain folders. */ @@ -110,7 +111,7 @@ $button-height: 20px; cursor: auto; height: $row-height; line-height: $row-height; - overflow: hidden; + overflow: visible; padding: 0 4px 0 5px; } @@ -156,6 +157,7 @@ $button-height: 20px; .c { float: left; width: 60%; + position: relative; } /** Controller placement */ @@ -188,7 +190,7 @@ $button-height: 20px; } .c input[type=checkbox] { - margin-top: 9px; + margin-top: 7px; } .c select {