Skip to content

Commit

Permalink
Truncate title on job search to 2 lines on mobiles
Browse files Browse the repository at this point in the history
  • Loading branch information
madis committed Dec 16, 2024
1 parent 4d2c094 commit 45144ae
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ui/resources/public/less/page/jobs.less
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,12 @@

@media #media[mobile-query] {
font-size: 2.5em;

// To truncate job titles at 2 lines on mobiles (terminating with ...)
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
}

Expand Down

0 comments on commit 45144ae

Please sign in to comment.