fix social icon in experience section (#98)
This commit is contained in:
parent
a06ed14de1
commit
5f492b8be5
1 changed files with 7 additions and 3 deletions
|
|
@ -15,10 +15,14 @@ const WorkTimelineItem = 'div';
|
|||
---
|
||||
|
||||
<WorkTimelineItem class:list={['flex', 'flex-col', 'gap-2', 'md:gap-0', 'mb-4', props.class]}>
|
||||
<Typography variant="item-title">{job.role} <span class="font-medium"> — {job.company}</span></Typography>
|
||||
<div class:list={['fixed', 'top-3', 'right-3', 'md:flex', 'sm:flex-wrap', 'gap-3', '[&>a]:my-2']}>
|
||||
<div class:list={['flex', 'justify-between', 'items-start', 'gap-4', 'sm:items-center']}>
|
||||
<Typography variant="item-title"
|
||||
>{job.role} <span class="font-medium"> — {job.company}</span>
|
||||
</Typography>
|
||||
<div class:list={['md:flex', 'sm:flex-wrap', 'gap-3', '[&>a]:mb-2', 'md:[&>a]:my-2']}>
|
||||
{job.socials?.map(({ icon, url }) => <IconButton icon={icon} href={url} target="_blank" size="small" />)}
|
||||
</div>
|
||||
</div>
|
||||
<Timestamp
|
||||
startDate={job.startDate}
|
||||
endDate={job.endDate}
|
||||
|
|
|
|||
Loading…
Reference in a new issue