kaori 5 лет назад
Родитель
Сommit
7feb1d61ea

+ 1 - 0
src/client/js/components/CustomNavbar.jsx

@@ -24,6 +24,7 @@ const CustomNavbar = (props) => {
     return min / max * 100;
   }
 
+  // [TODO: apply animation by gw4075]
   useEffect(() => {
     if (activeTab === '') {
       return;

+ 3 - 3
src/client/js/components/TrashPage.jsx

@@ -16,20 +16,20 @@ const navTabMapping = {
     icon: <PageListIcon />,
     i18n: 'page_list',
     // [TODO: show trash page list by gw4064]
-    tabContent: 'This is a page list of Trash pages',
+    tabContent: 'Trash page list',
     index: 0,
   },
   timeline:  {
     icon: '',
     i18n: 'Timeline View',
-    tabContent: 'bbb',
+    tabContent: 'Timeline page list',
     index: 1,
   },
 };
 
 const TrashPage = () => {
   return (
-    <div className="grw-trash-page-list">
+    <div className="grw-trash-page">
       <CustomNavbar navTabMapping={navTabMapping} />
     </div>
   );

+ 8 - 0
src/client/styles/scss/_navbar.scss

@@ -75,3 +75,11 @@
     bottom: -$grw-navbar-bottom-height;
   }
 }
+
+.grw-trash-page {
+  .nav-link svg {
+    width: 17px;
+    height: 17px;
+    margin-right: 5px;
+  }
+}