From 50ecf5c4ebd799668b0706211d7aa5428eb3416f Mon Sep 17 00:00:00 2001 From: XPoet Date: Thu, 21 Jan 2021 18:43:19 +0800 Subject: [PATCH] style: header transform add transition --- source/css/layout/page.styl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/css/layout/page.styl b/source/css/layout/page.styl index 468ea18..3728ca1 100644 --- a/source/css/layout/page.styl +++ b/source/css/layout/page.styl @@ -47,7 +47,7 @@ $page-aside-width = $temp-width ? convert($temp-width):260px; height: $header-height; z-index: $z-index-5; box-sizing: border-box; - transition-t("padding-left, height", "0, 0", "0.3, 0.2", "ease-out, linear"); + transition-t("transform, padding-left, height", "0, 0", "0.3, 0.2", "ease-out, linear"); &.hide { transform: translateY(-102%);