Skip to content
Snippets Groups Projects
Commit a19f0721 authored by esikkala's avatar esikkala
Browse files

Fix full text results layout

parent 2b83231c
No related branches found
No related tags found
No related merge requests found
......@@ -111,9 +111,12 @@ class MaterialTableFullTextResults extends React.Component {
PreviousPage: ChevronLeftIcon
}}
options={{
maxBodyHeight: '100%',
pageSize: 15,
pageSizeOptions: [10, 15, 20, 25]
pageSize: 5,
pageSizeOptions: [5, 10, 15, 20, 25]
}}
style={{
height: '100%',
overflow: 'auto'
}}
/>
</div>
......
......@@ -3,6 +3,7 @@ import PropTypes from 'prop-types';
import { Route, Redirect } from 'react-router-dom';
import PerspectiveTabs from '../../main_layout/PerspectiveTabs';
import MaterialTableFullTextResults from '../../facet_results/MaterialTableFullTextResults';
import CalendarViewDayIcon from '@material-ui/icons/CalendarViewDay';
const All = props => {
const perspectiveUrl = '/all';
......@@ -13,7 +14,7 @@ const All = props => {
tabs={[{
id: 'table',
label: 'table',
icon: 'CalendarViewDay',
icon: <CalendarViewDayIcon />,
value: 0,
}]}
/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment