work on chat
This commit is contained in:
parent
315e860eff
commit
995d380b9f
@ -23,11 +23,40 @@
|
||||
display: block;
|
||||
}
|
||||
|
||||
/*
|
||||
.chatInput{
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
|
||||
}
|
||||
*/
|
||||
.chatInput{
|
||||
margin-top: -3em;
|
||||
}
|
||||
.chatInput textarea{
|
||||
resize: none;
|
||||
}
|
||||
}
|
||||
.chatInput textarea::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
|
||||
color: black;
|
||||
opacity: 1; /* Firefox */
|
||||
}
|
||||
|
||||
.from{
|
||||
margin-top: 1em;
|
||||
display: block;
|
||||
padding-bottom: 0.5em;
|
||||
}
|
||||
|
||||
.chatFeed{
|
||||
display: block;
|
||||
max-height: 500px;
|
||||
overflow-y: scroll;
|
||||
min-height: 100%;
|
||||
padding-top: 4em;
|
||||
transform: rotate(180deg);
|
||||
direction: rtl;
|
||||
}
|
||||
|
||||
.messageEntry{
|
||||
transform: rotate(180deg);
|
||||
direction: ltr;
|
||||
}
|
||||
|
@ -90,12 +90,16 @@
|
||||
<ul class='conversationList'></ul>
|
||||
</div>
|
||||
<div class="column chatBox has-text-light has-background-dark is-four-fifths">
|
||||
<span class="chatFeed"></span>
|
||||
<span class="chatFeed">
|
||||
<div class="messageEntry">
|
||||
<span class="from has-text-primary">Jenny</span>
|
||||
<div class="messageContent">I'll stay right here</div>
|
||||
</div>
|
||||
</span>
|
||||
<div class="field has-addons">
|
||||
<p class="control chatInput">
|
||||
<textarea class="textarea" name="message-to-send" id="message-to-send" placeholder="Type your message" rows="1"></textarea>
|
||||
<textarea class="textarea has-dark-text" name="message-to-send" id="message-to-send" placeholder="Type your message" rows="1"></textarea>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user