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 { ...@@ -111,9 +111,12 @@ class MaterialTableFullTextResults extends React.Component {
PreviousPage: ChevronLeftIcon PreviousPage: ChevronLeftIcon
}} }}
options={{ options={{
maxBodyHeight: '100%', pageSize: 5,
pageSize: 15, pageSizeOptions: [5, 10, 15, 20, 25]
pageSizeOptions: [10, 15, 20, 25] }}
style={{
height: '100%',
overflow: 'auto'
}} }}
/> />
</div> </div>
......
...@@ -3,6 +3,7 @@ import PropTypes from 'prop-types'; ...@@ -3,6 +3,7 @@ import PropTypes from 'prop-types';
import { Route, Redirect } from 'react-router-dom'; import { Route, Redirect } from 'react-router-dom';
import PerspectiveTabs from '../../main_layout/PerspectiveTabs'; import PerspectiveTabs from '../../main_layout/PerspectiveTabs';
import MaterialTableFullTextResults from '../../facet_results/MaterialTableFullTextResults'; import MaterialTableFullTextResults from '../../facet_results/MaterialTableFullTextResults';
import CalendarViewDayIcon from '@material-ui/icons/CalendarViewDay';
const All = props => { const All = props => {
const perspectiveUrl = '/all'; const perspectiveUrl = '/all';
...@@ -13,7 +14,7 @@ const All = props => { ...@@ -13,7 +14,7 @@ const All = props => {
tabs={[{ tabs={[{
id: 'table', id: 'table',
label: 'table', label: 'table',
icon: 'CalendarViewDay', icon: <CalendarViewDayIcon />,
value: 0, 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