add vertical space above and below room section
This commit is contained in:
parent
91a2ee1779
commit
521e035bf0
2 changed files with 3 additions and 1 deletions
|
@ -24,12 +24,14 @@ limitations under the License.
|
||||||
.mx_RoomSubList_nonEmpty {
|
.mx_RoomSubList_nonEmpty {
|
||||||
min-height: 80px;
|
min-height: 80px;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
margin-bottom: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_RoomSubList_labelContainer {
|
.mx_RoomSubList_labelContainer {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
flex: 0 0 auto;
|
flex: 0 0 auto;
|
||||||
|
margin: 8px 19px 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_RoomSubList_label {
|
.mx_RoomSubList_label {
|
||||||
|
|
|
@ -348,7 +348,7 @@ const RoomSubList = React.createClass({
|
||||||
{this._getHeaderJsx()}
|
{this._getHeaderJsx()}
|
||||||
</div>;
|
</div>;
|
||||||
} else {
|
} else {
|
||||||
const heightEstimation = (len * 40) + 31;
|
const heightEstimation = (len * 40) + 31 + (8 + 8);
|
||||||
const style = {
|
const style = {
|
||||||
flexGrow: `${heightEstimation}`,
|
flexGrow: `${heightEstimation}`,
|
||||||
maxHeight: `${heightEstimation}px`,
|
maxHeight: `${heightEstimation}px`,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue