making contact list scrollable

This commit is contained in:
or-else
2016-01-11 22:01:28 -08:00
parent 4442cbae9d
commit 4c759913c7
2 changed files with 16 additions and 5 deletions
+15 -4
View File
@@ -119,9 +119,21 @@ html, body {
margin-left: 1em;
}
.contactBox {
overflow: hidden;
}
#newTopicInput {
z-index: 3;
background-color: #FFF;
padding-bottom: 0.25em;
}
.contactList {
padding: 0.5em;
height: 85vh;
z-index: 1;
padding: 9.5em 0.5em 0.5em 0.5em;
margin-top: -9em;
height: 100vh;
overflow-y: scroll;
}
@@ -165,7 +177,7 @@ html, body {
}
#chatTitle {
z-index: 2;
z-index: 3;
position: absolute;
left: 0;
right: 0;
@@ -207,7 +219,6 @@ html, body {
.chatBox > li {
margin-bottom: 1em;
position: relative;
x-white-space: pre;
}
.chatBox > li:before,
+1 -1
View File
@@ -303,7 +303,7 @@
var NewTopic = React.createClass({
render: function() {
return (
<div className="input-group">
<div className="input-group" id="newTopicInput">
<label htmlFor="addTopic" className="sr-only">Add user or topic</label>
<input id="addTopic" className="form-control" type="text" placeholder="Add topic" />
<span className="input-group-btn"><button className="btn btn-default" type="button">