File tree 5 files changed +10
-2
lines changed 5 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 21
21
"dependencies" : {
22
22
"@badrap/bar-of-progress" : " 0.1.2" ,
23
23
"@headlessui/react" : " 0.3.1" ,
24
+ "@tailwindcss/line-clamp" : " 0.2.0" ,
24
25
"classnames" : " 2.2.6" ,
25
26
"fauna-schema-migrate" : " 0.1.7" ,
26
27
"faunadb" : " 4.1.0" ,
Original file line number Diff line number Diff line change 3
3
ChatCenteredDots ,
4
4
Gear ,
5
5
RocketLaunch ,
6
- ShareNetwork ,
7
6
ThumbsUp ,
8
7
UserCircle ,
9
8
Users ,
Original file line number Diff line number Diff line change @@ -61,7 +61,9 @@ export default function Member({ user }: { user: User }) {
61
61
</ A >
62
62
< dl className = "mt-1 flex-grow flex flex-col justify-between" >
63
63
< dt className = "sr-only" > Bio</ dt >
64
- < dd className = "text-gray-500 text-xs" > { account . bio } </ dd >
64
+ < dd className = "text-gray-500 text-xs line-clamp-2" >
65
+ { account . bio }
66
+ </ dd >
65
67
< dt className = "sr-only" > Role</ dt >
66
68
< dt className = "sr-only" > Social Media</ dt >
67
69
{ socials && (
Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ module.exports = {
50
50
require ( '@tailwindcss/forms' ) ,
51
51
require ( '@tailwindcss/typography' ) ,
52
52
require ( '@tailwindcss/aspect-ratio' ) ,
53
+ require ( '@tailwindcss/line-clamp' ) ,
53
54
require ( 'nightwind' ) ,
54
55
] ,
55
56
}
Original file line number Diff line number Diff line change 276
276
dependencies :
277
277
mini-svg-data-uri "^1.2.3"
278
278
279
+
280
+ version "0.2.0"
281
+ resolved "https://registry.yarnpkg.com/@tailwindcss/line-clamp/-/line-clamp-0.2.0.tgz#7f30f26ed3835d64d1eb5a9b0d60cf5291dd2a3b"
282
+ integrity sha512-+jXSdRK3/9V/BCPCr+iNpMMhxWMMv62vn/AS2b3/ClmueGuhCijW3bUwO1IiHnE7uCaF74Sli8jUCv9djwvpLg==
283
+
279
284
280
285
version "0.4.0"
281
286
resolved "https://registry.yarnpkg.com/@tailwindcss/typography/-/typography-0.4.0.tgz#b80974ad6af93df7b06e1981cb4d79698b6ad5c7"
You can’t perform that action at this time.
0 commit comments