Skip to content

Commit 96bb804

Browse files
author
Luke Barnard
committed
Redesign membership section of GroupView
1 parent 0d4b3b4 commit 96bb804

1 file changed

Lines changed: 16 additions & 10 deletions

File tree

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

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,6 @@ limitations under the License.
7474
display: flex;
7575
}
7676

77-
.mx_GroupView_membership_buttonContainer {
78-
margin-top: 10px;
79-
}
80-
8177
.mx_GroupView_textButton {
8278
display: inline-block;
8379
}
@@ -134,14 +130,24 @@ limitations under the License.
134130
top: 5px;
135131
}
136132

137-
.mx_GroupView_invitedSection {
138-
width: 70%;
139-
padding: 20px;
140-
border: 1px solid $group-alert-color;
133+
.mx_GroupView_membershipSection {
141134
margin-left: auto;
142135
margin-right: auto;
143-
margin-bottom: 20px;
144-
text-align: center;
136+
margin-bottom: 11px;
137+
justify-content: space-between;
138+
display: flex;
139+
color: $greyed-fg-color;
140+
}
141+
142+
.mx_GroupView_membershipSection_description {
143+
/* To match textButton */
144+
line-height: 34px;
145+
}
146+
147+
.mx_GroupView_membershipSection .mx_GroupView_textButton {
148+
margin-right: 0px;
149+
margin-top: 0px;
150+
margin-left: 8px;
145151
}
146152

147153
.mx_GroupView_featuredThings {

0 commit comments

Comments
 (0)