Explorar o código

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

Tanimodori %!s(int64=2) %!d(string=hai) anos
pai
achega
fbcba766ae
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)`,
         };
       });