css tweaking
This commit is contained in:
parent
52286b2316
commit
2a15b3a98c
|
@ -1,6 +1,5 @@
|
||||||
.mx_RoomTile {
|
.mx_RoomTile {
|
||||||
height: 20px;
|
height: 20px;
|
||||||
width: 250px;
|
|
||||||
background-color: #ddd;
|
background-color: #ddd;
|
||||||
margin-top: 1px;
|
margin-top: 1px;
|
||||||
margin-bottom: 1px;
|
margin-bottom: 1px;
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
.mx_RoomList {
|
.mx_RoomList {
|
||||||
display: table-row;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_RoomList ul {
|
.mx_RoomList ul {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
.mx_RoomView {
|
.mx_RoomView {
|
||||||
display: table-cell;
|
display: table-cell;
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
width: 100%;
|
word-wrap: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_RoomView ul {
|
.mx_RoomView ul {
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
.mx_MatrixChat {
|
||||||
|
display: table;
|
||||||
|
table-layout: fixed;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
.mx_MatrixChat_leftPanel {
|
.mx_MatrixChat_leftPanel {
|
||||||
display: table-cell;
|
display: table-cell;
|
||||||
|
width: 250px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -68,7 +68,7 @@ module.exports = React.createClass({
|
||||||
render: function() {
|
render: function() {
|
||||||
if (this.state.logged_in && this.state.ready) {
|
if (this.state.logged_in && this.state.ready) {
|
||||||
return (
|
return (
|
||||||
<div>
|
<div className="mx_MatrixChat">
|
||||||
<div className="mx_MatrixChat_leftPanel">
|
<div className="mx_MatrixChat_leftPanel">
|
||||||
<MatrixToolbar />
|
<MatrixToolbar />
|
||||||
<RoomList selectedRoom={this.state.currentRoom} />
|
<RoomList selectedRoom={this.state.currentRoom} />
|
||||||
|
|
Loading…
Reference in New Issue