Swap classes instead of using 0 height elements

This commit is contained in:
David Baker 2017-07-21 14:14:27 +01:00
parent 5ba3453dcc
commit d2f02e8e99
1 changed files with 10 additions and 11 deletions

View File

@ -29,6 +29,11 @@ limitations under the License.
height: 70px; height: 70px;
align-items: center; align-items: center;
display: flex; display: flex;
margin-bottom: 20px;
}
.mx_GroupView_header_view {
border-bottom: 1px solid #e5e5e5;
} }
.mx_GroupView_header_avatar, .mx_GroupView_header_info { .mx_GroupView_header_avatar, .mx_GroupView_header_info {
@ -56,6 +61,11 @@ limitations under the License.
left: 15px; left: 15px;
} }
.mx_GroupView_avatarPicker .mx_Spinner {
width: 48px;
height: 48px ! important;
}
.mx_GroupView_header_leftCol { .mx_GroupView_header_leftCol {
flex: 1; flex: 1;
} }
@ -116,17 +126,6 @@ limitations under the License.
top: 5px; top: 5px;
} }
.mx_GroupView_header_viewBottom {
border-bottom: 1px solid #e5e5e5;
height: 0;
margin-bottom: 20px;
}
.mx_GroupView_header_editBottom {
height: 0;
margin-top: 20px;
}
.mx_GroupView_featuredThings { .mx_GroupView_featuredThings {
margin-top: 20px; margin-top: 20px;
} }