Skip to content

Commit

Permalink
scss clamp .title font-size
Browse files Browse the repository at this point in the history
  • Loading branch information
cooperlarson committed Aug 22, 2024
1 parent 3119d67 commit 17b0eb5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/_components/Card/index.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@

.title {
margin: 0;
font-size: clamp(1rem, 1.5vw, 2rem);
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}

.titleLink {
Expand Down

0 comments on commit 17b0eb5

Please sign in to comment.