Skip to content
This repository was archived by the owner on Nov 7, 2020. It is now read-only.

Commit

Permalink
Merge branch 'chat-table-layout'
Browse files Browse the repository at this point in the history
  • Loading branch information
yourcelf committed Oct 23, 2014
2 parents d5367fa + 2c92ccf commit 0bc0796
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
23 changes: 15 additions & 8 deletions public/css/screen.styl
Original file line number Diff line number Diff line change
Expand Up @@ -708,30 +708,37 @@ hr.noshade {
border-radius: 2px;
background-color: #eee;

//overflow-y: auto;
chat-input-height = 3em

.panel {
display: flex
flex-flow: column nowrap
height: 100%;
width: 100%;
background-color: #eee;
}

.panel-heading {
width: 100%
max-height: 50%
overflow: auto
}
.panel-body {
height: 82%;
overflow-y: scroll;
flex: 2
height: 100%
width: 100%
padding: 0 15px;
margin-right: -10px;
overflow: auto
}

.panel-footer {
height: chat-input-height
width: 100%
border-top: 0;
padding: 10px 0px;
background-color: inherit;
}

#chat-list-container {
height: auto;
width: auto;

.chat-message {
word-wrap: break-word;
list-style-type: none;
Expand Down
2 changes: 0 additions & 2 deletions views/event.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -157,11 +157,9 @@
<div class="panel-heading">
<div id='welcome-message'></div>
</div>

<div class="panel-body">
<div id='chat-messages'></div>
</div>

<div class="panel-footer">
<div id="chat-input-region"></div>
</div>
Expand Down

0 comments on commit 0bc0796

Please sign in to comment.