fix cell sizes

This commit is contained in:
Luna D 2021-11-30 23:09:04 +01:00
parent b6cd7d3cb0
commit 87ecd1009f
No known key found for this signature in database
GPG key ID: 81AF416F2CC36FC8
2 changed files with 10 additions and 3 deletions

View file

@ -7,10 +7,12 @@
.staff-block__user-card {
display: grid;
grid-template-columns: auto auto;
grid-template-columns: auto 8em;
}
.staff-block__user {
flex-grow: 1;
width: auto;
padding: 1em;
}
@ -35,3 +37,8 @@
.staff-block__category {
margin-top: 1em;
}
.staff-block__user-description {
overflow: hidden;
text-overflow: ellipsis;
}

View file

@ -33,7 +33,7 @@ h1 Staff
.staff-block__grid
= for user <- users do
.block.flex.flex__grow
.block.flex.flex--column
.block__content.staff-block__user
.staff-block__user-card
.staff-block__avatar
@ -46,4 +46,4 @@ h1 Staff
i.fa.fa-envelope>
' Send PM
hr.staff-block__separator
p = staff_description(user)
p.staff-block__user-description = staff_description(user)