Skip to content

Commit

Permalink
fix(chat): added multiple line enter
Browse files Browse the repository at this point in the history
  • Loading branch information
papasikis committed Aug 7, 2017
1 parent 82add54 commit 532e32d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<fieldset>
<div class="form-group form-group-w-btn">
<div class="input-group">
<input @keypress="keyHandler($event)" v-model="inputMessage" required title=""/>
<textarea @keypress="keyHandler($event)" v-model="inputMessage" required title=""></textarea>
<label class="control-label">Your message</label><i class="bar"></i>
</div>
<div class="btn btn-sm btn-primary" @click="sendMessage()">Send</div>
Expand Down Expand Up @@ -87,6 +87,8 @@
padding: $chat-message-py $chat-message-px;
margin-bottom: $chat-message-mb;
border-radius: $chat-message-br;
max-width: 70%;
overflow-wrap: break-word;
&:last-child {
margin-bottom: 0;
Expand Down
2 changes: 1 addition & 1 deletion src/sass/_material-forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ fieldset {

.form-group {
// scss-lint:disable QualifyingElement, NestingDepth
input {
input, textarea {
height: ($mf-font-size * 1.9);
}

Expand Down

0 comments on commit 532e32d

Please sign in to comment.