From 8b7d6d5d2d2a1d8bf729df5d232d9ab27dd37fd0 Mon Sep 17 00:00:00 2001 From: Sun <1652829889@qq.com> Date: Tue, 10 Nov 2020 21:43:07 +0800 Subject: [PATCH] fix(NavBar): safe-area-inset-top css incorrect (#7535) --- src/nav-bar/index.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nav-bar/index.less b/src/nav-bar/index.less index 8f72ac913..1fed3ee1f 100644 --- a/src/nav-bar/index.less +++ b/src/nav-bar/index.less @@ -15,8 +15,8 @@ } &--safe-area-inset-top { - padding-top: constant(safe-area-inset-bottom); - padding-top: env(safe-area-inset-bottom); + padding-top: constant(safe-area-inset-top); + padding-top: env(safe-area-inset-top); } .van-icon {