From 568221171d06b7f2d9ed767634dfbe30299bce29 Mon Sep 17 00:00:00 2001 From: EnixCoda Date: Fri, 22 Jun 2018 22:44:08 +0800 Subject: [PATCH] refactor: transition for all Fixes #12 --- src/content.less | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/content.less b/src/content.less index 354c551..936c787 100644 --- a/src/content.less +++ b/src/content.less @@ -83,12 +83,9 @@ height: 30px; will-change: transform; border: 1px solid transparent; + transition: all @animation-duration ease; - @media screen and (max-width: @width-with-gitako) { - transition: all @animation-duration ease; - } @media screen and (min-width: @width-with-gitako) { - transition: border-color, border-radius, background @animation-duration ease; transform: translate(~'calc(50vw - (' @github-content-width ~') / 2 - 30px)'); }