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) {
/>
)}
<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">
{node.referenceCode} ({node.level})
</Card.Subtitle>
<Card.Subtitle className="mb-2 text-muted">{node.creationPeriod.text}</Card.Subtitle>
{node.withinInfo?.split('\n').map((p) => (
<Card.Text>{p}</Card.Text>
))}
{node.withinInfo && (
<Card.Text style={{ whiteSpace: 'pre-wrap' }}>{node.withinInfo}</Card.Text>
)}
</Card.Body>
<ListGroup variant="flush">
{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