diff --git a/src/files-and-videos/generic/FileTable.jsx b/src/files-and-videos/generic/FileTable.jsx
index 0d285e773..d35e30842 100644
--- a/src/files-and-videos/generic/FileTable.jsx
+++ b/src/files-and-videos/generic/FileTable.jsx
@@ -25,6 +25,7 @@ import {
RowStatus,
MoreInfoColumn,
FilterStatus,
+ Footer,
} from './table-components';
import ApiStatusToast from './ApiStatusToast';
@@ -216,10 +217,10 @@ const FileTable = ({
- { currentView === 'card' && }
+ { currentView === 'card' && }
{ currentView === 'list' && }
-
+
)}
diff --git a/src/files-and-videos/generic/table-components/Footer.jsx b/src/files-and-videos/generic/table-components/Footer.jsx
new file mode 100644
index 000000000..d7141d299
--- /dev/null
+++ b/src/files-and-videos/generic/table-components/Footer.jsx
@@ -0,0 +1,28 @@
+import React, { useContext } from 'react';
+import { DataTableContext, Pagination, TableFooter } from '@edx/paragon';
+
+const Footer = () => {
+ const {
+ pageOptions, pageCount, gotoPage, state,
+ } = useContext(DataTableContext);
+
+ if (pageOptions.length < 2) {
+ return null;
+ }
+
+ const pageIndex = state?.pageIndex;
+
+ return (
+
+ gotoPage(pageNum - 1)}
+ />
+
+ );
+};
+
+export default Footer;
diff --git a/src/files-and-videos/generic/table-components/index.js b/src/files-and-videos/generic/table-components/index.js
index f81bce1cc..4d8a1eace 100644
--- a/src/files-and-videos/generic/table-components/index.js
+++ b/src/files-and-videos/generic/table-components/index.js
@@ -2,6 +2,7 @@ import GalleryCard from './GalleryCard';
import TableActions from './TableActions';
import FilterStatus from './FilterStatus';
import RowStatus from './RowStatus';
+import Footer from './Footer';
import {
AccessColumn,
ActiveColumn,
@@ -15,6 +16,7 @@ export {
GalleryCard,
FilterStatus,
RowStatus,
+ Footer,
AccessColumn,
ActiveColumn,
MoreInfoColumn,
diff --git a/src/files-and-videos/index.scss b/src/files-and-videos/index.scss
index ffd94b5a1..58182fe2b 100644
--- a/src/files-and-videos/index.scss
+++ b/src/files-and-videos/index.scss
@@ -7,8 +7,13 @@
visibility: hidden;
}
- .pgn__data-table-layout-main {
+ .pgn__data-table-layout-wrapper {
+ overflow-x: visible;
+ }
+
+ .pgn__data-table-wrapper {
background-color: $light-200;
+ box-shadow: 0 0 0;
.pgn__data-table-status-bar {
padding: 12px 0;
@@ -26,6 +31,11 @@
margin-bottom: 0;
}
}
+
+ .pgn__data-table-footer {
+ border-top: none;
+ justify-content: center;
+ }
}
.more-info-menu {
diff --git a/src/files-and-videos/videos-page/info-sidebar/TranscriptTab.jsx b/src/files-and-videos/videos-page/info-sidebar/TranscriptTab.jsx
index 13131b147..ed1dcf854 100644
--- a/src/files-and-videos/videos-page/info-sidebar/TranscriptTab.jsx
+++ b/src/files-and-videos/videos-page/info-sidebar/TranscriptTab.jsx
@@ -99,7 +99,7 @@ const TranscriptTab = ({
return (
-