]> Untitled Git - lemmy-ui.git/commitdiff
fix: Fix rounded textarea in Markdown box
authorJay Sitter <jay@jaysitter.com>
Sat, 17 Jun 2023 00:13:25 +0000 (20:13 -0400)
committerJay Sitter <jay@jaysitter.com>
Sat, 17 Jun 2023 00:13:25 +0000 (20:13 -0400)
src/shared/components/common/markdown-textarea.tsx

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