From 09a227e94a46bd7d48184d119c3af2e69da8f525 Mon Sep 17 00:00:00 2001 From: Edward Loveall Date: Fri, 3 Mar 2017 09:17:53 -0500 Subject: [PATCH] Fix tab bar placeholder too tall When rearranging tabs, the placeholder was set to be about 40px tall. This would cause the overall tab bar height to increase. That felt pretty weird when you're trying to move a tab and the tab bar is resizing on you. --- styles/tabs.less | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/styles/tabs.less b/styles/tabs.less index 4761854..47a0374 100644 --- a/styles/tabs.less +++ b/styles/tabs.less @@ -131,6 +131,14 @@ copyright Copyright (C) 2016 + transform: scale(1); opacity: 1; } + + .placeholder { + height: @tab-height / 2; + + &:after { + top: @tab-height / 2; + } + } } .platform-darwin {