mirror of
https://github.com/discourse/discourse-user-card-directory.git
synced 2025-06-26 00:12:29 +00:00
UX: consistent card heights, more space for stat labels (#55)
This commit is contained in:
parent
eacda5d00e
commit
4d90ffa942
@ -21,7 +21,7 @@
|
||||
.user-card-directory {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
grid-gap: 60px 20px;
|
||||
grid-gap: 100px 20px;
|
||||
margin-top: 60px;
|
||||
|
||||
@media only screen and (min-width: 500px) {
|
||||
@ -29,11 +29,13 @@
|
||||
}
|
||||
|
||||
.user-card-container {
|
||||
margin: 60px 20px;
|
||||
margin-bottom: auto;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: var(--secondary);
|
||||
box-shadow: var(--shadow-card);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.user-card {
|
||||
@ -54,7 +56,8 @@
|
||||
|
||||
.user-card-directory-footer {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(5em, 1fr));
|
||||
grid-template-columns: repeat(auto-fit, minmax(7em, 1fr));
|
||||
margin-top: auto;
|
||||
padding: 0.75em;
|
||||
background-color: var(--secondary);
|
||||
gap: 0.25em;
|
||||
|
Loading…
x
Reference in New Issue
Block a user