Skip to content

Commit

Permalink
feat: add styles to review-requests page
Browse files Browse the repository at this point in the history
  • Loading branch information
zenitfan19 committed Sep 8, 2020
1 parent ff1b63d commit 9134997
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/requests/components/requests-table.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ export default class RequestsTable extends Component {
dataSource={defaultCustomers}
columns={columnsWithSearch}
pagination={pagination}
scroll={{ x: 1200, y: 'calc(100vh - 210px)' }}
/>
);
}
Expand Down
13 changes: 13 additions & 0 deletions src/pages/requests/requests.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.review-requests {
width: calc(100vw - 230px);
height: calc(100vh - 30px);
}

*::-webkit-scrollbar-thumb {
background-color: #1890ff;
}

*::-webkit-scrollbar {
width: 5px;
height: 5px;
}
1 change: 1 addition & 0 deletions src/pages/requests/requests.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react';
import RequestsTable from './components/requests-table';
import './requests.css';

const Requests = () => {
return (
Expand Down

0 comments on commit 9134997

Please sign in to comment.