Skip to content

Commit

Permalink
Apply style to dsiplay authors in columns, up to 3.
Browse files Browse the repository at this point in the history
Signed-off-by: iudi <iudi@lepidus.com.br>
  • Loading branch information
iudizm committed Feb 19, 2024
1 parent a0240ed commit 0abde21
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions styles/authorsList.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,24 @@
#authorsList a {
line-height: 2rem;
}

@media (min-width: 992px) {
#authorsList {
column-count: 3;
column-gap: 10px;
}
}

@media (max-width: 992px) {
#authorsList {
column-count: 2;
column-gap: 10px;
}
}

@media (max-width: 480px) {
#authorsList {
column-count: 1;
column-gap: 10px;
}
}

0 comments on commit 0abde21

Please sign in to comment.