style: header transform add transition

This commit is contained in:
XPoet 2021-01-21 18:43:19 +08:00
parent fec96c0f3d
commit 50ecf5c4eb
1 changed files with 1 additions and 1 deletions

View File

@ -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%);