Browse Source

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

Tanimodori 2 năm trước cách đây
mục cha
commit
fbcba766ae
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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)`,
         };
       });