mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-23 20:18:00 +01:00
fix cell sizes
This commit is contained in:
parent
b6cd7d3cb0
commit
87ecd1009f
2 changed files with 10 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue