Skip to content

Commit 62fd982

Browse files
authored
Merge pull request element-hq#5360 from vector-im/luke/groups-my-groups
CSS for improved MyGroups page
2 parents b2e9b36 + 8317bcb commit 62fd982

1 file changed

Lines changed: 46 additions & 0 deletions

File tree

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

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,49 @@ limitations under the License.
5757
.mx_MyGroups_content {
5858
clear: left;
5959
}
60+
61+
.mx_MyGroups_joinedGroups {
62+
display: flex;
63+
flex-direction: row;
64+
flex-flow: wrap;
65+
justify-content: space-between;
66+
}
67+
68+
.mx_MyGroups_joinedGroups .mx_GroupTile {
69+
width: 300px;
70+
height: 75px;
71+
margin-bottom: 15px;
72+
margin-right: 10px;
73+
display: flex;
74+
align-items: flex-start;
75+
cursor: pointer;
76+
}
77+
78+
.mx_GroupTile_profile {
79+
margin-left: 10px;
80+
display: flex;
81+
flex-direction: column;
82+
justify-content: center;
83+
}
84+
85+
.mx_GroupTile_profile h3.mx_GroupTile_name {
86+
margin: 0px;
87+
font-size: 15px;
88+
}
89+
90+
.mx_GroupTile_profile .mx_GroupTile_groupId {
91+
font-size: 13px;
92+
}
93+
94+
.mx_GroupTile_profile .mx_GroupTile_desc {
95+
display: -webkit-box;
96+
-webkit-line-clamp: 2;
97+
-webkit-box-orient: vertical;
98+
font-size: 13px;
99+
max-height: 36px;
100+
overflow: hidden;
101+
}
102+
103+
.mx_GroupTile_profile .mx_GroupTile_groupId {
104+
opacity: 0.7;
105+
}

0 commit comments

Comments
 (0)