fix: Fix rounded textarea in Markdown box

This commit is contained in:
Jay Sitter 2023-06-16 20:13:25 -04:00
parent 3d24a108ae
commit f037220d5e

View file

@ -146,7 +146,7 @@ export class MarkdownTextArea extends Component<
<div className="form-group row"> <div className="form-group row">
<div className="col-12"> <div className="col-12">
<div <div
className="rounded bg-light" className="rounded bg-light overflow-hidden"
style={{ style={{
border: "1px solid var(--medium-light)", border: "1px solid var(--medium-light)",
}} }}
@ -218,7 +218,7 @@ export class MarkdownTextArea extends Component<
<div> <div>
<textarea <textarea
id={this.id} id={this.id}
className={classNames("form-control border-0", { className={classNames("form-control border-0 rounded-0", {
"d-none": this.state.previewMode, "d-none": this.state.previewMode,
})} })}
value={this.state.content} value={this.state.content}