mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-22 03:05:19 -04:00
Remove wider mode #999
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
This commit is contained in:
parent
f7be49bbc3
commit
0180c75e55
17 changed files with 15 additions and 125 deletions
|
@ -26,7 +26,6 @@ export const BasicMarkdownRenderer: React.FC<BasicMarkdownRendererProps & Additi
|
|||
{
|
||||
className,
|
||||
content,
|
||||
wide,
|
||||
componentReplacers,
|
||||
markdownIt,
|
||||
documentReference,
|
||||
|
@ -38,7 +37,7 @@ export const BasicMarkdownRenderer: React.FC<BasicMarkdownRendererProps & Additi
|
|||
const markdownReactDom = useConvertMarkdownToReactDom(trimmedContent, markdownIt, componentReplacers, onBeforeRendering, onAfterRendering)
|
||||
|
||||
return (
|
||||
<div className={`${className ?? ''} d-flex flex-column align-items-center ${wide ? 'wider' : ''}`}>
|
||||
<div className={`${className ?? ''} d-flex flex-column align-items-center`}>
|
||||
<DocumentLengthLimitReachedAlert contentLength={content.length}/>
|
||||
<div ref={documentReference} className={'markdown-body w-100 d-flex flex-column align-items-center'}>
|
||||
{markdownReactDom}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue