Skip to content

Commit

Permalink
Merge pull request #5360 from vector-im/luke/groups-my-groups
Browse files Browse the repository at this point in the history
CSS for improved MyGroups page
  • Loading branch information
lukebarnard1 authored Oct 19, 2017
2 parents b2e9b36 + 8317bcb commit 62fd982
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions src/skins/vector/css/matrix-react-sdk/structures/_MyGroups.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,49 @@ limitations under the License.
.mx_MyGroups_content {
clear: left;
}

.mx_MyGroups_joinedGroups {
display: flex;
flex-direction: row;
flex-flow: wrap;
justify-content: space-between;
}

.mx_MyGroups_joinedGroups .mx_GroupTile {
width: 300px;
height: 75px;
margin-bottom: 15px;
margin-right: 10px;
display: flex;
align-items: flex-start;
cursor: pointer;
}

.mx_GroupTile_profile {
margin-left: 10px;
display: flex;
flex-direction: column;
justify-content: center;
}

.mx_GroupTile_profile h3.mx_GroupTile_name {
margin: 0px;
font-size: 15px;
}

.mx_GroupTile_profile .mx_GroupTile_groupId {
font-size: 13px;
}

.mx_GroupTile_profile .mx_GroupTile_desc {
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
font-size: 13px;
max-height: 36px;
overflow: hidden;
}

.mx_GroupTile_profile .mx_GroupTile_groupId {
opacity: 0.7;
}

0 comments on commit 62fd982

Please sign in to comment.