Skip to content

Commit db4872a

Browse files
AppleApple
authored andcommitted
Fix linting issues
1 parent ae17c97 commit db4872a

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

components/CaseStudyCard.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ export default function CaseStudyCard({ studies = [] }: ICaseStudyCardProps) {
1919
}
2020

2121
return (
22-
<div className='flex flex-wrap pt-10 lg:grid lg:grid-cols-3 lg:gap-8 lg:text-center gap-3'>
22+
<div className='flex flex-wrap gap-3 pt-10 lg:grid lg:grid-cols-3 lg:gap-8 lg:text-center'>
2323
{studies.map((study, index) => (
2424
<a key={index} href={`casestudies/${study.id}`}>
2525
<div
26-
className='max-w-sm h-full overflow-hidden min-h-[300px] rounded-md border border-gray-200 bg-white p-4'
26+
className='h-full min-h-[300px] max-w-sm overflow-hidden rounded-md border border-gray-200 bg-white p-4'
2727
data-testid='CaseStudyCard-main'
2828
>
2929
<span className='mr-2'>

components/buttons/ScrollButton.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ function ScrollButton() {
2828
return (
2929
<div className='fixed bottom-14 right-4 z-40 h-16 w-12'>
3030
{backToTopButton && (
31-
<button className='rounded-full bg-white shadow-md hover:bg-[#8851FB] hover:scale-110 transition-all duration-300 ease-in-out' onClick={scrollUp}>
31+
<button
32+
className='rounded-full bg-white shadow-md transition-all duration-300 ease-in-out hover:scale-110 hover:bg-[#8851FB]'
33+
onClick={scrollUp}
34+
>
3235
<img src={scrollImage} alt='scroll to top' />
3336
</button>
3437
)}

0 commit comments

Comments
 (0)