Skip to content

Commit

Permalink
nicer description
Browse files Browse the repository at this point in the history
  • Loading branch information
tgxn committed Feb 26, 2025
1 parent eca7655 commit e5028e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 3 additions & 2 deletions frontend/src/components/GridView/CommunityCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,12 @@ export default function CommunityCard({ community }) {
level="body3"
sx={{
display: "-webkit-box",
// "-webkit-box-orient": "vertical",
// "-webkit-line-clamp": "3",
height: "54px",
maxHeight: "90px",
overflow: "hidden",
flexGrow: 1,
flexShrink: 1,
color: "text.primary",
}}
>
{community.desc ? community.desc : ""}
Expand Down
3 changes: 1 addition & 2 deletions frontend/src/components/GridView/InstanceCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -154,13 +154,12 @@ export default function InstanceCard({ instance }) {
level="body3"
sx={{
display: "-webkit-box",
// "-webkit-box-orient": "vertical",
// "-webkit-line-clamp": "3",
height: "54px",
maxHeight: "90px",
overflow: "hidden",
flexGrow: 1,
flexShrink: 1,
color: "text.primary",
}}
>
{instance.desc}
Expand Down

0 comments on commit e5028e9

Please sign in to comment.