From 3624bf742cd8c4152696ecdbc5bdc35ce3112452 Mon Sep 17 00:00:00 2001 From: Eltrac Koalar Date: Thu, 5 Mar 2020 16:37:45 +0800 Subject: =?UTF-8?q?=F0=9F=91=87=F0=9F=8F=BC=20Perf:=20=E8=AE=A9=E9=94=9A?= =?UTF-8?q?=E7=82=B9=E5=8A=A8=E7=94=BB=E6=9B=B4=E5=8A=A0=E5=B9=B3=E6=BB=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/css/main/element.css | 2 ++ 1 file changed, 2 insertions(+) (limited to 'assets/css/main/element.css') diff --git a/assets/css/main/element.css b/assets/css/main/element.css index 600e4a4..22a1a80 100644 --- a/assets/css/main/element.css +++ b/assets/css/main/element.css @@ -13,6 +13,7 @@ html { body { margin: 0; } + main { display: block; } @@ -170,6 +171,7 @@ body,html { overflow: auto; transition: background 0.2s; width: 100%; + scroll-behavior: smooth; } body { font-family: 'Noto Sans SC',sans-serif; -- cgit v1.2.3