From 6ef9c7e95fd2c85f944db89a746a8457e216403c Mon Sep 17 00:00:00 2001 From: Maxime Quandalle Date: Fri, 22 May 2015 20:17:40 +0200 Subject: Improve popup animation When going back wait for the popup transition to end before removing the DOM element. --- client/components/main/popup.styl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/components/main/popup.styl') diff --git a/client/components/main/popup.styl b/client/components/main/popup.styl index 151b4fcb..9faad876 100644 --- a/client/components/main/popup.styl +++ b/client/components/main/popup.styl @@ -95,7 +95,7 @@ width: 100% .content-container - width: 1000px + width: 5000px max-height: 550px transition: transform 0.2s @@ -104,7 +104,7 @@ padding: 0 10px 10px float: left - &.is-hidden + &.no-height height: 0 .quiet -- cgit v1.2.3-1-g7c22