Fix preview box disappearing

This commit is contained in:
CherryKitten 2022-10-17 11:36:43 +02:00
parent 963a58b899
commit 23a1b9c077
Signed by: sammy
GPG key ID: 0B696A86A853E955

View file

@ -68,7 +68,7 @@ class App extends React.Component {
>
<i className="fa-sharp fa-solid fa-expand"></i>
</button>
<div id={'preview'} style={{maxHeight: '100%'}}>
<div id={'preview'} style={{height: '100%', width: '100%'}}>
<Markdown gfm={true} breaks={true}>
{this.state.preview}
</Markdown>