Commit 86fc90bf authored by Aron Fiechter's avatar Aron Fiechter
Browse files

Format text and increase height

parent 00a061f2
Pipeline #898 canceled with stage
...@@ -23,14 +23,14 @@ export default function Info(props) { ...@@ -23,14 +23,14 @@ export default function Info(props) {
/> />
)} )}
<Card.Header as={'h5'}>{node.title}</Card.Header> <Card.Header as={'h5'}>{node.title}</Card.Header>
<Card.Body style={{ maxHeight: hasImage ? '110px' : '440px', overflowX: 'scroll' }}> <Card.Body style={{ maxHeight: hasImage ? '150px' : '480px', overflowX: 'scroll' }}>
<Card.Subtitle className="mb-3 text-muted"> <Card.Subtitle className="mb-3 text-muted">
{node.referenceCode} ({node.level}) {node.referenceCode} ({node.level})
</Card.Subtitle> </Card.Subtitle>
<Card.Subtitle className="mb-2 text-muted">{node.creationPeriod.text}</Card.Subtitle> <Card.Subtitle className="mb-2 text-muted">{node.creationPeriod.text}</Card.Subtitle>
{node.withinInfo?.split('\n').map((p) => ( {node.withinInfo && (
<Card.Text>{p}</Card.Text> <Card.Text style={{ whiteSpace: 'pre-wrap' }}>{node.withinInfo}</Card.Text>
))} )}
</Card.Body> </Card.Body>
<ListGroup variant="flush"> <ListGroup variant="flush">
{node.customFields.digitaleVersion && {node.customFields.digitaleVersion &&
......
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