File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed
src/pages/Home/components/ShelterListItem Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -43,20 +43,20 @@ const ShelterListItem = (props: IShelterListItemProps) => {
43
43
return (
44
44
< Link to = { `/abrigo/${ data . id } ` } target = "_blank" >
45
45
< div className = "flex flex-col p-4 w-full border-2 border-border rounded-md gap-1 relative hover:bg-accent" >
46
- < Button size = "sm" variant = "ghost" className = "absolute top-4 right-4 " >
47
- < ChevronRight
48
- className = "h-5 w-5"
49
- />
50
- </ Button >
51
- < div
52
- className = "flex items-center gap -1"
53
- >
54
- < h3
55
- className = "font-semibold text-lg hover:cursor-pointer hover:text-slate-500"
56
- >
57
- { data . name }
58
- </ h3 >
59
- { data . verified && < VerifiedBadge /> }
46
+ < div className = "inline-flex justify-between " >
47
+ < div className = "flex flex-row items-center gap-1" >
48
+ < h3 className = "font-semibold text-lg h-full hover:cursor-pointer hover:text-slate-500" >
49
+ { data . name }
50
+ </ h3 >
51
+ { data . verified && (
52
+ < div className = "h-full pt -1" >
53
+ < VerifiedBadge / >
54
+ </ div >
55
+ ) }
56
+ </ div >
57
+ < Button size = "sm" variant = "ghost" >
58
+ < ChevronRight className = "h-5 w-5" / >
59
+ </ Button >
60
60
</ div >
61
61
< h6 className = { cn ( 'font-semibold text-md' , availabilityClassName ) } >
62
62
{ availability }
You can’t perform that action at this time.
0 commit comments