File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -48,20 +48,19 @@ const EventCard = ({
48
48
< Box
49
49
className = { className }
50
50
position = "relative"
51
- marginTop = { { base : "0" , md : 0 } }
51
+ mt = "0"
52
52
_before = { clearStyles }
53
53
_after = { clearStyles }
54
- width = { { base : "100%" , md : "100%" , xl : "100%" } }
55
- height = { "100%" }
54
+ w = "full"
55
+ h = "full"
56
56
>
57
57
< Flex
58
- borderRadius = "sm"
59
58
border = "1px solid"
60
59
borderColor = "lightBorder"
61
60
height = { "100%" }
62
61
direction = { "column" }
63
62
justifyContent = { "space-between" }
64
- rounded = { "4px" }
63
+ rounded = "base"
65
64
>
66
65
< Box >
67
66
< Flex
@@ -88,9 +87,9 @@ const EventCard = ({
88
87
boxShadow = "rgb(0 0 0 / 10%) 0px -1px 0px inset;"
89
88
>
90
89
< Image
91
- src = { imageUrl ? imageUrl : "/images/events/event-placeholder.png" }
90
+ src = { imageUrl || "/images/events/event-placeholder.png" }
92
91
alt = { title }
93
- width = { { base : "100%" , sm : "100%" } }
92
+ w = "full"
94
93
height = { { base : "224px" , xl : "124px" } }
95
94
objectFit = { "cover" }
96
95
fallbackSrc = "/images/events/event-placeholder.png"
@@ -102,7 +101,6 @@ const EventCard = ({
102
101
as = "h3"
103
102
fontSize = { { base : "md" , md : "2xl" } }
104
103
marginTop = { 0 }
105
- fontWeight = "semibold"
106
104
lineHeight = { 1.4 }
107
105
>
108
106
{ title }
@@ -112,7 +110,7 @@ const EventCard = ({
112
110
</ Text >
113
111
</ Box >
114
112
< Box >
115
- < Text fontSize = { { base : "sm" , md : "sm" } } > { description } </ Text >
113
+ < Text fontSize = "sm" > { description } </ Text >
116
114
</ Box >
117
115
</ Box >
118
116
</ Box >
You can’t perform that action at this time.
0 commit comments