Преглед изворни кода

fix: 修复DrawerFooter border-top导致滚动条出现的问题 (#2002)

Tanimodori пре 2 година
родитељ
комит
fbcba766ae
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/components/Drawer/src/components/DrawerFooter.vue

+ 1 - 1
src/components/Drawer/src/components/DrawerFooter.vue

@@ -47,7 +47,7 @@
         const heightStr = `${props.height}`;
         return {
           height: heightStr,
-          lineHeight: heightStr,
+          lineHeight: `calc(${heightStr} - 1px)`,
         };
       });