Skip to content

Commit d2f02e8

Browse files
committed
Swap classes instead of using 0 height elements
1 parent 5ba3453 commit d2f02e8

1 file changed

Lines changed: 10 additions & 11 deletions

File tree

‎src/skins/vector/css/matrix-react-sdk/structures/_GroupView.scss‎

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ limitations under the License.
2929
height: 70px;
3030
align-items: center;
3131
display: flex;
32+
margin-bottom: 20px;
33+
}
34+
35+
.mx_GroupView_header_view {
36+
border-bottom: 1px solid #e5e5e5;
3237
}
3338

3439
.mx_GroupView_header_avatar, .mx_GroupView_header_info {
@@ -56,6 +61,11 @@ limitations under the License.
5661
left: 15px;
5762
}
5863

64+
.mx_GroupView_avatarPicker .mx_Spinner {
65+
width: 48px;
66+
height: 48px ! important;
67+
}
68+
5969
.mx_GroupView_header_leftCol {
6070
flex: 1;
6171
}
@@ -116,17 +126,6 @@ limitations under the License.
116126
top: 5px;
117127
}
118128

119-
.mx_GroupView_header_viewBottom {
120-
border-bottom: 1px solid #e5e5e5;
121-
height: 0;
122-
margin-bottom: 20px;
123-
}
124-
125-
.mx_GroupView_header_editBottom {
126-
height: 0;
127-
margin-top: 20px;
128-
}
129-
130129
.mx_GroupView_featuredThings {
131130
margin-top: 20px;
132131
}

0 commit comments

Comments
 (0)