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

不用时隐藏滚动条

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}