Skip to content

Commit 7a9f351

Browse files
committed
fix: reduce width of controls card
1 parent b270b9e commit 7a9f351

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/ListControls.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const ListControls = () => {
88
<p>5 items left</p>
99
</div>
1010

11-
<div className='flex md:w-fit w-full gap-3 font-bold md:mt-0 md:static absolute mt-36 md:shadow-none shadow-md left-0 right-0 rounded-md bg-card-bg md:py-0 py-4 px-5 justify-center'>
11+
<div className='flex md:w-fit gap-3 font-bold md:mt-0 md:static absolute mt-36 md:shadow-none shadow-md w-[calc(100%-40px)] left-5 right-5 rounded-md bg-card-bg md:py-0 py-4 px-5 justify-center'>
1212
<button className='text-bright-blue hover:text-text-hovered'>All</button>
1313
<button className='hover:text-text-hovered'>Active</button>
1414
<button className='hover:text-text-hovered'>Completed</button>

0 commit comments

Comments
 (0)