summaryrefslogtreecommitdiffstats
path: root/ui/src/components/create-post.tsx
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2019-03-30 17:21:50 -0700
committerDessalines <tyhou13@gmx.com>2019-03-30 17:21:50 -0700
commit6138c6193b9a07fd47d1c1982db613a11fcf5a29 (patch)
treefd3f5b422861c54c4c3ab53075e48a305d642ab4 /ui/src/components/create-post.tsx
parent54d660ad883e96d6d64f0e1104a2a1db63dcbd82 (diff)
Adding img-fluid to markdown images.
Diffstat (limited to 'ui/src/components/create-post.tsx')
-rw-r--r--ui/src/components/create-post.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/src/components/create-post.tsx b/ui/src/components/create-post.tsx
index 2a39e96c..6715e9d8 100644
--- a/ui/src/components/create-post.tsx
+++ b/ui/src/components/create-post.tsx
@@ -70,13 +70,13 @@ export class CreatePost extends Component<any, State> {
<div class="form-group row">
<label class="col-sm-2 col-form-label">Title</label>
<div class="col-sm-10">
- <textarea value={this.state.postForm.name} onInput={linkEvent(this, this.handlePostNameChange)} class="form-control" required rows="3" />
+ <textarea value={this.state.postForm.name} onInput={linkEvent(this, this.handlePostNameChange)} class="form-control" required rows={3} />
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">Body</label>
<div class="col-sm-10">
- <textarea value={this.state.postForm.body} onInput={linkEvent(this, this.handlePostBodyChange)} class="form-control" rows="6" />
+ <textarea value={this.state.postForm.body} onInput={linkEvent(this, this.handlePostBodyChange)} class="form-control" rows={6} />
</div>
</div>
<div class="form-group row">