Skip to content

Commit

Permalink
fix(chat): replace textarea with text input on chat element
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderrudnik committed Aug 14, 2017
1 parent b4997b9 commit cb97283
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
</template>

<script>
import VuesticChat from 'components/vuestic-components/vuestic-chat/VuesticChat'
import VuesticProfileCard from 'components/vuestic-components/vuestic-profile-card/VuesticProfileCard.vue'
import VuesticChat from '../../../components/vuestic-components/vuestic-chat/VuesticChat'
import VuesticProfileCard from '../../../components/vuestic-components/vuestic-profile-card/VuesticProfileCard.vue'
export default {
name: 'users-members-tab',
Expand Down
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">
<textarea class="chat" @keypress="keyHandler($event)" v-model="inputMessage" required title=""></textarea>
<input @keypress="keyHandler($event)" v-model="inputMessage" required title=""/>
<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
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,14 @@
</script>

<style lang="scss">
@import "../../../sass/variables";
.vuestic-scrollbar {
background: transparent;
transition: all .3s linear;
position: relative;
.scrollbar-wrapper {
box-shadow: $sidebar-box-shadow;
position: relative;
overflow: hidden;
max-height: 100%;
Expand Down

0 comments on commit cb97283

Please sign in to comment.