Skip to content

Commit

Permalink
chore: Added comments
Browse files Browse the repository at this point in the history
  • Loading branch information
MGukic committed Dec 12, 2024
1 parent c12d79a commit 7e11f52
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions frontend/src/components/organisms/MembersCard/MembersCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ export const MembersCard = ({
fontWeight={400}
variant="body1"
sx={{
display: "-webkit-box",
WebkitBoxOrient: "vertical",
overflow: "hidden",
textOverflow: "ellipsis",
WebkitLineClamp: 5,
display: "-webkit-box", // Required for line clamping
WebkitBoxOrient: "vertical", // Required for line clamping
overflow: "hidden", // Hides overflowed text
textOverflow: "ellipsis", // Adds ellipsis for overflowed text
WebkitLineClamp: 5, // Limits text to a maximum of 5 lines
transition: "all 0.3s ease",
}}
>
Expand Down

0 comments on commit 7e11f52

Please sign in to comment.