Browse Source

fix: tabbar safe-bottom样式异常 (#1742)

jwaterwater 3 years ago
parent
commit
a1c1427a58

+ 1 - 1
src/packages/__VUE/tabbar/index.scss

@@ -12,7 +12,7 @@
   display: flex;
   display: flex;
   align-items: center;
   align-items: center;
   height: 50px;
   height: 50px;
-  box-sizing: border-box;
+  box-sizing: content-box;
   background: $white;
   background: $white;
 
 
   &:last-child {
   &:last-child {

+ 1 - 0
src/packages/__VUE/tabbaritem/index.scss

@@ -72,6 +72,7 @@
       display: block;
       display: block;
       background-size: 100% 100%;
       background-size: 100% 100%;
       background-position: center center;
       background-position: center center;
+      margin-bottom: 4px;
     }
     }
     &_nav-word {
     &_nav-word {
       font-size: $tabbar-item-text-font-size;
       font-size: $tabbar-item-text-font-size;