Skip to content

Commit

Permalink
fix(Layout): use flex layout for chat list instead of fixed calc
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff-arn committed May 20, 2019
1 parent 1850e4e commit 66ed091
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion public/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ div {
}

.chat-column {
display: flex;
flex-direction: column;
height: 90%;
padding: 0.9375rem 0 0.625rem 0;
margin: auto;
Expand All @@ -82,6 +84,7 @@ div {
}

.user-typing {
flex: 0;
border: none;
color: #8d25e8;
margin: 0.75rem;
Expand All @@ -93,7 +96,7 @@ div {
margin: 0.75rem;
overflow-y: auto;
overflow-x: hidden;
height: calc(100% - 4rem);
flex: 1;
}

.message-inner {
Expand Down

0 comments on commit 66ed091

Please sign in to comment.