Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit af18019

Browse files
committed
Final spaces tweaks for the demo
1 parent 9b4af91 commit af18019

File tree

3 files changed

+13
-11
lines changed

3 files changed

+13
-11
lines changed

res/css/structures/_SpaceRoomDirectory.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ limitations under the License.
227227
}
228228

229229
.mx_SpaceRoomDirectory_roomTile_info {
230-
font-size: $font-13px;
230+
font-size: $font-14px;
231231
line-height: $font-18px;
232232
color: $secondary-fg-color;
233233
grid-row: 2;

res/css/structures/_SpaceRoomView.scss

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,6 @@ $SpaceRoomViewInnerWidth: 428px;
210210

211211
.mx_SpaceRoomView_landing_info {
212212
display: flex;
213-
margin-right: 60px;
214213
align-items: center;
215214

216215
.mx_SpaceRoomView_info {
@@ -280,10 +279,17 @@ $SpaceRoomViewInnerWidth: 428px;
280279
.mx_SpaceRoomView_landing_topic {
281280
font-size: $font-15px;
282281
margin-top: 12px;
282+
margin-bottom: 16px;
283+
}
284+
285+
> hr {
286+
border: none;
287+
height: 1px;
288+
background-color: $groupFilterPanel-bg-color;
283289
}
284290

285291
.mx_SpaceRoomView_landing_adminButtons {
286-
margin-top: 32px;
292+
margin-top: 24px;
287293

288294
.mx_AccessibleButton {
289295
position: relative;
@@ -294,7 +300,7 @@ $SpaceRoomViewInnerWidth: 428px;
294300
border-radius: 12px;
295301
border: 1px solid $input-border-color;
296302
margin-right: 28px;
297-
margin-bottom: 28px;
303+
margin-bottom: 20px;
298304
font-size: $font-14px;
299305
display: inline-block;
300306
vertical-align: bottom;
@@ -357,12 +363,7 @@ $SpaceRoomViewInnerWidth: 428px;
357363
}
358364

359365
.mx_SearchBox {
360-
margin-left: 4px;
361-
max-width: 670px;
362-
}
363-
364-
.mx_SpaceRoomDirectory_list {
365-
max-width: 700px;
366+
margin: 0 0 20px;
366367
}
367368
}
368369

@@ -417,7 +418,7 @@ $SpaceRoomViewInnerWidth: 428px;
417418
}
418419

419420
.mx_SpaceRoomView_info {
420-
color: $tertiary-fg-color;
421+
color: $secondary-fg-color;
421422
font-size: $font-15px;
422423
line-height: $font-24px;
423424
margin: 20px 0;

src/components/structures/SpaceRoomView.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,7 @@ const SpaceLanding = ({ space }) => {
294294
<div className="mx_SpaceRoomView_landing_topic">
295295
<RoomTopic room={space} />
296296
</div>
297+
<hr />
297298
<div className="mx_SpaceRoomView_landing_adminButtons">
298299
{ addRoomButtons }
299300
{ settingsButton }

0 commit comments

Comments
 (0)