فهرست منبع

不用时隐藏滚动条

visuddhinanda 3 سال پیش
والد
کامیت
27b6278379
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      dashboard/src/pages/library/community/list.tsx
  2. 1 1
      dashboard/src/pages/library/palicanon/bypath.tsx

+ 1 - 1
dashboard/src/pages/library/community/list.tsx

@@ -21,7 +21,7 @@ const Widget = () => {
     <Row>
       <Col xs={0} sm={6} md={5}>
         <Affix offsetTop={0}>
-          <div style={{ height: "100vh", overflowY: "scroll" }}>
+          <div style={{ height: "100vh", overflowY: "auto" }}>
             <BookTree
               onChange={(key: string, path: string[]) => {
                 /*

+ 1 - 1
dashboard/src/pages/library/palicanon/bypath.tsx

@@ -48,7 +48,7 @@ const Widget = () => {
           <Row>
             <Col xs={0} sm={6} md={6}>
               <Affix offsetTop={0}>
-                <div style={{ height: "100vh", overflowY: "scroll" }}>
+                <div style={{ height: "100vh", overflowY: "auto" }}>
                   <BookTree
                     root={bookRoot}
                     path={bookPath}