add vertical space above and below room section

This commit is contained in:
Bruno Windels 2018-10-22 18:17:14 +02:00
parent 91a2ee1779
commit 521e035bf0
2 changed files with 3 additions and 1 deletions

View File

@ -24,12 +24,14 @@ limitations under the License.
.mx_RoomSubList_nonEmpty {
min-height: 80px;
flex: 1;
margin-bottom: 8px;
}
.mx_RoomSubList_labelContainer {
display: flex;
flex-direction: row;
flex: 0 0 auto;
margin: 8px 19px 0 0;
}
.mx_RoomSubList_label {

View File

@ -348,7 +348,7 @@ const RoomSubList = React.createClass({
{this._getHeaderJsx()}
</div>;
} else {
const heightEstimation = (len * 40) + 31;
const heightEstimation = (len * 40) + 31 + (8 + 8);
const style = {
flexGrow: `${heightEstimation}`,
maxHeight: `${heightEstimation}px`,