Skip to content

Commit e5c128f

Browse files
author
Luke Barnard
committed
Move group ui buttons to group settings
1 parent 7c39997 commit e5c128f

2 files changed

Lines changed: 29 additions & 7 deletions

File tree

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

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,7 @@ limitations under the License.
134134
top: 5px;
135135
}
136136

137-
.mx_GroupView_body {
138-
display: flex;
139-
flex-direction: column;
137+
.mx_GroupView_body {
140138
flex-grow: 1;
141139
}
142140

@@ -181,7 +179,6 @@ limitations under the License.
181179
}
182180

183181
.mx_GroupView_membershipSection {
184-
margin-bottom: 11px;
185182
color: $greyed-fg-color;
186183
}
187184

@@ -203,6 +200,23 @@ limitations under the License.
203200
margin-left: 8px;
204201
}
205202

203+
.mx_GroupView_memberSettings_toggle label {
204+
cursor: pointer;
205+
user-select: none;
206+
}
207+
208+
.mx_GroupView_memberSettings h3 {
209+
text-transform: uppercase;
210+
color: $h3-color;
211+
font-weight: 600;
212+
font-size: 13px;
213+
margin-bottom: 10px;
214+
}
215+
216+
.mx_GroupView_memberSettings input {
217+
margin-right: 6px;
218+
}
219+
206220
.mx_GroupView_featuredThings {
207221
margin-top: 20px;
208222
}
@@ -260,7 +274,11 @@ limitations under the License.
260274
display: none;
261275
}
262276

263-
.mx_GroupView_editLongDesc {
264-
width: 100%;
265-
height: 150px;
277+
.mx_GroupView_body .gm-scroll-view > *{
278+
margin: 0px 50px 11px 68px;
266279
}
280+
281+
.mx_GroupView_groupDesc textarea {
282+
width: 50%;
283+
height: 150px;
284+
}

‎src/skins/vector/css/matrix-react-sdk/views/rooms/_RoomHeader.scss‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ limitations under the License.
6060
padding-right: 12px;
6161
}
6262

63+
.mx_RoomHeader_textButton_danger {
64+
background-color: $warning-color;
65+
}
66+
6367
.mx_RoomHeader_cancelButton {
6468
order: 2;
6569
cursor: pointer;

0 commit comments

Comments
 (0)