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

Expressions and collections: set header height

parent 687d9ba9
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ import CloudDownloadIcon from '@material-ui/icons/CloudDownload'; ...@@ -7,7 +7,7 @@ import CloudDownloadIcon from '@material-ui/icons/CloudDownload';
export const perspectiveConfigOnlyInfoPages = [ export const perspectiveConfigOnlyInfoPages = [
{ {
id: 'collections', id: 'collections',
perspectiveDescHeight: 99, perspectiveDescHeight: 160,
instancePageTabs: [ instancePageTabs: [
{ {
id: 'table', id: 'table',
...@@ -24,7 +24,7 @@ export const perspectiveConfigOnlyInfoPages = [ ...@@ -24,7 +24,7 @@ export const perspectiveConfigOnlyInfoPages = [
}, },
{ {
id: 'expressions', id: 'expressions',
perspectiveDescHeight: 99, perspectiveDescHeight: 160,
instancePageTabs: [ instancePageTabs: [
{ {
id: 'table', id: 'table',
......
...@@ -395,7 +395,7 @@ let SemanticPortal = props => { ...@@ -395,7 +395,7 @@ let SemanticPortal = props => {
instanceData={props[perspective.id].instance} instanceData={props[perspective.id].instance}
expanded={props[perspective.id].instancePageHeaderExpanded} expanded={props[perspective.id].instancePageHeaderExpanded}
updateExpanded={props.updatePerspectiveHeaderExpanded} updateExpanded={props.updatePerspectiveHeaderExpanded}
descriptionHeight={99} descriptionHeight={perspective.perspectiveDescHeight}
/> />
<Grid container spacing={1} className={props[perspective.id].instancePageHeaderExpanded <Grid container spacing={1} className={props[perspective.id].instancePageHeaderExpanded
? classes.instancePageContainerHeaderExpanded ? classes.instancePageContainerHeaderExpanded
......
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