Преглед на файлове

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