Commit cec603e1 authored by Matija Obreza's avatar Matija Obreza
Browse files

BlurbText update

parent 89f3353e
......@@ -6,12 +6,12 @@ import withStyles from '@material-ui/core/styles/withStyles';
/*tslint:disable*/
const style = (theme) => ({
cropBlurb: {
padding: '16px',
[theme.breakpoints.up('md')]: {
columnCount: 2,
columnGap: '3rem',
},
[theme.breakpoints.up('xl')]: {
// padding: '16px',
// [theme.breakpoints.up('md')]: {
// columnCount: 2,
// columnGap: '3rem',
// },
[theme.breakpoints.up('lg')]: {
columnCount: 3,
columnGap: '3rem',
},
......
......@@ -87,9 +87,9 @@ class DisplayPage extends React.Component<IDisplayPageProps, any> {
<PageContents className="pt-1rem">
<MainSection title={ t('crop.public.p.display.generalInformation') }>
{ cropDetails.blurb && cropDetails.blurb.body &&
<Properties>
<div className="mb-20">
<BlurbText body={ cropDetails.blurb.body } />
</Properties>
</div>
}
<Properties>
<PropertiesItem title={ t('crop.public.c.cropCard.originalName') }>{ crop.name }</PropertiesItem>
......
......@@ -137,9 +137,9 @@ class DisplayPage extends React.Component<IDisplayPageProps, any> {
<PageContents className="pt-1rem">
<MainSection title={ t('institutes.public.p.display.title') }>
{ institute.blurb && institute.blurb.body &&
<Properties>
<div className="mb-20">
<BlurbText body={ institute.blurb.body } />
</Properties>
</div>
}
<Properties>
<PropertiesItem title={ t('institutes.common.instituteCode') }>{ institute.details.code }</PropertiesItem>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment