From 460b4323d7be03e27489db0620e1be0cffdeec60 Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Mon, 3 Jul 2017 09:00:08 +0200 Subject: [PATCH] Do not control line-height when expanding the menu The style only changes the 'height' property when the menu state changes, so there's no need to set an animation for 'line-height'. --- scss/modules/_toggle-menu.scss | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scss/modules/_toggle-menu.scss b/scss/modules/_toggle-menu.scss index 6dd028a..6969ef3 100644 --- a/scss/modules/_toggle-menu.scss +++ b/scss/modules/_toggle-menu.scss @@ -138,11 +138,11 @@ $imported-once: false !default; ##{$show-menu-id}:target { ~ .toggle-menu__list .toggle-menu__item { height: auto; - -moz-transition: height .25s, line-height .25s; - -ms-transition: height .25s, line-height .25s; - -o-transition: height .25s, line-height .25s; - -webkit-transition: height .25s, line-height .25s; - transition: height .25s, line-height .25s; + -moz-transition: height .25s; + -ms-transition: height .25s; + -o-transition: height .25s; + -webkit-transition: height .25s; + transition: height .25s; } ~ .toggle-menu__button--show { -- 2.1.4