Skip to content

Commit

Permalink
resolved conversation
Browse files Browse the repository at this point in the history
  • Loading branch information
amaan-aly246 committed Dec 26, 2024
1 parent 692a745 commit 9f20206
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions src/style/app.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -2367,16 +2367,23 @@ button[data-testid='createPostBtn'] {
font-size: 1rem;
flex: 1;
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 1;
line-clamp: 1;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
text-overflow: ellipsis;
white-space: nowrap; /* Fallback for browsers that don't support line-clamp */
margin-left: 3px;
}

/* Modern browsers - enable line clamping */
@supports (-webkit-line-clamp: 1) {
.cardItem .title,
.cardItem .location,
.cardItem .time {
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
white-space: initial;
}
}
.cardItem .location {
font-size: 0.9rem;
color: var(--bs-primary);
Expand Down

0 comments on commit 9f20206

Please sign in to comment.