fix width of markdown

This commit is contained in:
sawka
2023-04-17 15:22:55 -07:00
parent ac0467f6c1
commit 86a65dff79
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -3621,7 +3621,7 @@ input[type=checkbox] {
.scroller {
overflow: auto;
display: flex;
flex-diretion: row;
flex-direction: row;
}
}
@@ -3633,7 +3633,7 @@ input[type=checkbox] {
.markdown-renderer .markdown {
padding: 5px;
line-height: 1.5;
width: min-content;
width: fit-content;
blockquote {
background-color: #222;
+1 -1
View File
@@ -50,7 +50,7 @@ class SimpleMarkdownRenderer extends React.Component<{data : Blob, context : Ren
}
return (
<div className="renderer-container markdown-renderer">
<div className="scroller" style={{maxHeight: opts.maxSize.height}}>
<div className="scroller" style={{maxHeight: opts.maxSize.height, width: minWidth, maxWidth: maxWidth}}>
<Markdown text={this.markdownText.get()} style={{maxHeight: opts.maxSize.height}}/>
</div>
</div>