Skip to content

Commit cdab2c5

Browse files
committed
style: adjust spacing between - positions with/(out) responsibilities and between given position and responsibility
1 parent 6979a7f commit cdab2c5

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

src/components/Tiles/ExperienceTile.tsx

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,7 @@ export function ExperienceTile({
2222
const isTablet = useMediaQuery('(min-width: 768px)');
2323
const isDesktop = useMediaQuery('(min-width: 1280px)');
2424
return (
25-
<div
26-
className={
27-
(!(responsibilities && responsibilities.length > 0) && !isTablet ? '-mb-6' : 'mb-6') +
28-
' ' +
29-
'flex items-center'
30-
}
31-
>
25+
<div className="-mb-2 flex items-center">
3226
<div className="group relative flex-grow lg:-ml-[132px] xl:-ml-40 2xl:-ml-52">
3327
{isTablet && (
3428
<div className="opacity-0 transition-opacity delay-100 md:group-hover:opacity-100">
@@ -45,7 +39,7 @@ export function ExperienceTile({
4539
</div>
4640
)}
4741
<div className="py-3 lg:pl-[132px] xl:pl-40 2xl:pl-52">
48-
<div className="mb-4 flex flex-col justify-between sm:flex-row md:items-start">
42+
<div className="flex flex-col justify-between sm:flex-row md:items-start">
4943
<div>
5044
<h2 className="text-xl font-bold">{position}</h2>
5145
<LinkWithArrow
@@ -65,7 +59,7 @@ export function ExperienceTile({
6559
)}
6660
</div>
6761
{responsibilities && responsibilities.length > 0 && (
68-
<div className="mt-4">
62+
<div className="mt-3">
6963
<ul className="list-inside list-['-_'] space-y-1 text-gray-700 dark:text-gray-300">
7064
{responsibilities.map((responsibility, index) => (
7165
<li key={index}>{responsibility}</li>

0 commit comments

Comments
 (0)