Skip to content

Commit a3d15e0

Browse files
author
Weblate
committed
Merge remote-tracking branch 'origin/develop' into develop
2 parents 61287b5 + 2c4c6e8 commit a3d15e0

1 file changed

Lines changed: 34 additions & 6 deletions

File tree

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

Lines changed: 34 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ limitations under the License.
1818
max-width: 960px;
1919
margin-left: auto;
2020
margin-right: auto;
21+
22+
display: flex;
23+
flex-direction: column;
2124
}
2225

2326
.mx_MyGroups .mx_RoomHeader_simpleHeader {
@@ -61,10 +64,26 @@ limitations under the License.
6164
/* Until the button is wired up */
6265
.mx_MyGroups_joinBox {
6366
visibility: hidden;
67+
68+
/* When joinBox wraps onto its own row, it should take up zero height so
69+
that there isn't an awkward gap between MyGroups_createBox and
70+
MyGroups_content.
71+
*/
72+
height: 0px;
73+
margin: 0px;
6474
}
6575

6676
.mx_MyGroups_content {
6777
margin-left: 2px;
78+
79+
flex: 1 0 0;
80+
81+
display: flex;
82+
flex-direction: column;
83+
}
84+
85+
.mx_MyGroups_content h3 {
86+
margin-bottom: 10px;
6887
}
6988

7089
.mx_MyGroups_placeholder {
@@ -75,19 +94,22 @@ limitations under the License.
7594
text-align: center;
7695
}
7796

78-
.mx_MyGroups_joinedGroups {
97+
.mx_MyGroups_joinedGroups .gm-scroll-view {
98+
border-top: 1px solid $primary-hairline-color;
99+
overflow-x: hidden;
100+
79101
display: flex;
80102
flex-direction: row;
81103
flex-flow: wrap;
82-
justify-content: space-around;
104+
align-content: flex-start;
83105
}
84106

85-
.mx_MyGroups_joinedGroups .mx_GroupTile {
107+
.mx_MyGroups_joinedGroups .gm-scroll-view .mx_GroupTile {
86108
min-width: 300px;
87-
flex: 1 0 25%;
109+
max-width: 33%;
110+
flex: 1 0 300px;
88111
height: 75px;
89-
margin-bottom: 15px;
90-
margin-right: 10px;
112+
margin: 10px 0px;
91113
display: flex;
92114
align-items: flex-start;
93115
cursor: pointer;
@@ -100,6 +122,12 @@ limitations under the License.
100122
justify-content: center;
101123
}
102124

125+
.mx_GroupTile_profile h3.mx_GroupTile_name,
126+
.mx_GroupTile_profile .mx_GroupTile_groupId,
127+
.mx_GroupTile_profile .mx_GroupTile_desc {
128+
padding-right: 10px;
129+
}
130+
103131
.mx_GroupTile_profile h3.mx_GroupTile_name {
104132
margin: 0px;
105133
font-size: 15px;

0 commit comments

Comments
 (0)