From 78a1427ec0dae311831ebf932e91fd47c18c0d1f Mon Sep 17 00:00:00 2001 From: afc163 Date: Sun, 20 Oct 2019 15:00:50 +0800 Subject: [PATCH] :memo: fix home page animation --- site/theme/static/home.less | 4 ++-- site/theme/template/Home/Banner.jsx | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/site/theme/static/home.less b/site/theme/static/home.less index cc34de2efb..f8a3d00c42 100644 --- a/site/theme/static/home.less +++ b/site/theme/static/home.less @@ -66,8 +66,8 @@ width: 54%; min-width: 420px; max-width: 560px; - min-height: 336px; - color: #0d1a26; + min-height: 400px; + color: @home-text-color; > * { will-change: transform; } diff --git a/site/theme/template/Home/Banner.jsx b/site/theme/template/Home/Banner.jsx index 3b06a7d7b6..4a24240039 100644 --- a/site/theme/template/Home/Banner.jsx +++ b/site/theme/template/Home/Banner.jsx @@ -67,7 +67,6 @@ const Banner = ({ isMobile }) => { {!isMobile && (