Skip to content

Commit 16bd06d

Browse files
committed
update css
1 parent 89e3dd7 commit 16bd06d

File tree

2 files changed

+24
-14
lines changed

2 files changed

+24
-14
lines changed

app/[locale]/(user)/datasets/page.tsx

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -282,21 +282,27 @@ const DatasetsListing = () => {
282282
/>
283283
</div>
284284
<div className="flex flex-wrap justify-between gap-3 lg:flex-nowrap lg:justify-normal lg:gap-5">
285-
<div className="items-center gap-2 hidden lg:flex">
285+
<div className="hidden items-center gap-2 lg:flex">
286286
<ButtonGroup noWrap spacing="tight">
287287
<Button
288-
kind={view === 'collapsed' ? 'secondary' : 'tertiary'}
288+
kind={'tertiary'}
289289
className=" h-fit w-fit"
290290
onClick={() => setView('collapsed')}
291291
>
292-
<Icon source={Icons.grid} />
292+
<Icon
293+
source={Icons.grid}
294+
color={view === 'collapsed' ? 'highlight' : 'default'}
295+
/>
293296
</Button>
294297
<Button
295298
onClick={() => setView('expanded')}
296-
kind={view === 'expanded' ? 'secondary' : 'tertiary'}
299+
kind={'tertiary'}
297300
className=" h-fit w-fit"
298301
>
299-
<Icon source={Icons.list} />
302+
<Icon
303+
source={Icons.list}
304+
color={view === 'expanded' ? 'highlight' : 'default'}
305+
/>
300306
</Button>
301307
</ButtonGroup>
302308
</div>
@@ -392,7 +398,6 @@ const DatasetsListing = () => {
392398
))
393399
)}
394400
</div>
395-
<Divider className=" h-1 bg-surfaceDefault" />
396401
</>
397402
)}
398403

app/[locale]/(user)/sectors/[sectorSlug]/page.tsx

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ const SectorDetailsPage = ({ params }: { params: { categorySlug: any } }) => {
305305
<Loading />
306306
) : (
307307
<div className="min-h-screen">
308-
<div className="m-auto flex w-11/12 flex-wrap items-center gap-10 p-6 lg:items-start ">
308+
<div className="m-auto flex w-11/12 flex-wrap items-center gap-10 p-6 lg:flex-nowrap lg:items-start lg:pb-10 lg:pt-16 ">
309309
<div className="flex flex-col items-center justify-center rounded-2 bg-baseGraySlateSolid2 p-2">
310310
<Image
311311
src={'/obi.jpg'}
@@ -333,7 +333,7 @@ const SectorDetailsPage = ({ params }: { params: { categorySlug: any } }) => {
333333
</Text>
334334
</div>
335335
</div>
336-
<div className="m-5 md:m-8 lg:m-10">
336+
<div className="m-5 md:m-8 lg:m-10 ">
337337
<div className="flex flex-wrap items-center justify-between gap-5 rounded-2 p-2 lg:flex-nowrap">
338338
<div className=" w-full md:block">
339339
<SearchInput
@@ -346,21 +346,27 @@ const SectorDetailsPage = ({ params }: { params: { categorySlug: any } }) => {
346346
/>
347347
</div>
348348
<div className="flex flex-wrap justify-between gap-3 lg:flex-nowrap lg:justify-normal lg:gap-5">
349-
<div className="hidden lg:flex items-center gap-2">
349+
<div className="hidden items-center gap-2 lg:flex">
350350
<ButtonGroup noWrap spacing="tight">
351351
<Button
352-
kind={view === 'collapsed' ? 'secondary' : 'tertiary'}
352+
kind={'tertiary'}
353353
className=" h-fit w-fit"
354354
onClick={() => setView('collapsed')}
355355
>
356-
<Icon source={Icons.grid} />
356+
<Icon
357+
source={Icons.grid}
358+
color={view === 'collapsed' ? 'highlight' : 'default'}
359+
/>
357360
</Button>
358361
<Button
359362
onClick={() => setView('expanded')}
360-
kind={view === 'expanded' ? 'secondary' : 'tertiary'}
363+
kind={'tertiary'}
361364
className=" h-fit w-fit"
362365
>
363-
<Icon source={Icons.list} />
366+
<Icon
367+
source={Icons.list}
368+
color={view === 'expanded' ? 'highlight' : 'default'}
369+
/>
364370
</Button>
365371
</ButtonGroup>
366372
</div>
@@ -456,7 +462,6 @@ const SectorDetailsPage = ({ params }: { params: { categorySlug: any } }) => {
456462
))
457463
)}
458464
</div>
459-
<Divider className=" h-1 bg-surfaceDefault" />
460465
</>
461466
)}
462467

0 commit comments

Comments
 (0)