Skip to content

Commit

Permalink
fix: show ellipsis for very long article titles
Browse files Browse the repository at this point in the history
  • Loading branch information
albertfdp committed Jul 18, 2023
1 parent a685729 commit 916db29
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions styles/_article.scss
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,12 @@
}

&-title {
overflow: hidden;
text-overflow: ellipsis;

@include tablet {
flex-basis: 100%; /* Take entire row */
max-width: 100%;
}

.icon-lock {
Expand Down

0 comments on commit 916db29

Please sign in to comment.