Skip to content

Commit 3b8e507

Browse files
committed
improve layout
1 parent a775086 commit 3b8e507

1 file changed

Lines changed: 22 additions & 2 deletions

File tree

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

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,25 @@ limitations under the License.
1616

1717
.mx_RoomPreviewBar {
1818
text-align: center;
19+
height: 176px;
20+
21+
-webkit-align-items: center;
22+
align-items: center;
23+
24+
flex-direction: column;
25+
-webkit-flex-direction: column;
26+
27+
justify-content: center;
28+
-webkit-justify-content: center;
29+
30+
display: -webkit-box;
31+
display: -moz-box;
32+
display: -ms-flexbox;
33+
display: -webkit-flex;
34+
display: flex;
1935
}
2036

21-
.mx_RoomPreviewBar_preview_text {
22-
color: #a4a4a4;
37+
.mx_RoomPreviewBar_wrapper {
2338
}
2439

2540
.mx_RoomPreviewBar_invite_text {
@@ -30,6 +45,11 @@ limitations under the License.
3045
color: #ff0064;
3146
}
3247

48+
.mx_RoomPreviewBar_preview_text {
49+
margin-top: 25px;
50+
color: #a4a4a4;
51+
}
52+
3353
.mx_RoomPreviewBar_join_text a {
3454
text-decoration: underline;
3555
cursor: pointer;

0 commit comments

Comments
 (0)