소스 검색

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