wip(org): Changes to layouts and modal images
This commit is contained in:
parent
b9df1709f1
commit
ffea80f77b
7 changed files with 25 additions and 12 deletions
|
@ -16,10 +16,14 @@ const Figure = props => {
|
|||
src={props?.src}
|
||||
alt={props?.alt || ''}
|
||||
title={title || ''}
|
||||
className="m-auto max-h-full max-w-full"
|
||||
className="m-auto"
|
||||
style={{
|
||||
maxHeight: "calc(100vh - 6rem)",
|
||||
maxWidth: "calc(100vw - 6rem)",
|
||||
}}
|
||||
/>
|
||||
{title
|
||||
? <figcaption className="text-center italic text-base-content mt-1">{title}</figcaption>
|
||||
? <figcaption className="text-center italic mt-1">{title}</figcaption>
|
||||
: (
|
||||
<Popout fixme>
|
||||
<h5>This image does not have an alt of title specified</h5>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue