瀏覽代碼

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)`,
         };
       });