File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
site/src/components/AvatarCard Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 1
1
import { type ReactNode } from "react" ;
2
2
import { Avatar } from "components/Avatar/Avatar" ;
3
3
import { type CSSObject , useTheme } from "@emotion/react" ;
4
+ import { colors } from "theme/colors" ;
4
5
5
6
type AvatarCardProps = {
6
7
header : string ;
@@ -38,7 +39,7 @@ export function AvatarCard({
38
39
css = { [
39
40
theme . typography . body1 as CSSObject ,
40
41
{
41
- lineHeight : 1.5 ,
42
+ lineHeight : 1.4 ,
42
43
margin : 0 ,
43
44
overflow : "hidden" ,
44
45
whiteSpace : "nowrap" ,
@@ -61,7 +62,12 @@ export function AvatarCard({
61
62
) }
62
63
</ div >
63
64
64
- < Avatar src = { imgUrl } alt = { altText } colorScheme = "darken" >
65
+ < Avatar
66
+ src = { imgUrl }
67
+ alt = { altText }
68
+ size = "md"
69
+ css = { { backgroundColor : colors . gray [ 7 ] } }
70
+ >
65
71
{ header }
66
72
</ Avatar >
67
73
</ article >
You can’t perform that action at this time.
0 commit comments