Skip to content

Commit

Permalink
Fix css for study description (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavliuc75 authored Nov 6, 2024
1 parent 0974b23 commit 73129b5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/pages/Studies/StudyCard/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,14 @@ export const ContentWrapper = styled("div")(({ theme }) => ({

export const CardDescription = styled(Typography)(({ theme }) => ({
color: theme.palette.text.primary,
display: "flex",
textAlign: "left",
marginTop: 16,
display: "-webkit-box",
WebkitLineClamp: 7,
WebkitBoxOrient: "vertical",
overflow: "hidden",
textOverflow: "ellipsis",
wordBreak: "break-word",
}));

export const CardTitle = styled(Typography)(({ theme }) => ({
Expand All @@ -56,6 +61,7 @@ export const InfoContainer = styled("div")({
flexDirection: "column",
height: "100%",
width: "100%",
minWidth: 0,
paddingLeft: 12,
});

Expand Down

0 comments on commit 73129b5

Please sign in to comment.