Skip to content

Commit 1d8f4a2

Browse files
committed
Modified Filters component styles. Renamed remote switch label
1 parent fde73fd commit 1d8f4a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/shared/Filters.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ const Filters = ({
5656
<Button
5757
key={filter.value}
5858
onClick={() => handleTypeClick(filter.value)}
59-
className={`body-medium mb-0.5 mr-0.5 rounded-lg px-6 py-3 capitalize shadow-none md:mb-0 md:mr-0 ${
59+
className={`body-medium mb-0.5 mr-0.5 rounded-lg px-6 py-3 capitalize shadow-none md:mb-0 md:mr-0 line-clamp-1 ${
6060
active === filter.value
6161
? "bg-primary-100 text-primary-500 dark:bg-dark-400 dark:hover:bg-dark-400"
6262
: "bg-light-800 text-light-500 hover:bg-light-800 dark:bg-dark-300 dark:text-light-500 dark:hover:bg-dark-300"
@@ -69,7 +69,7 @@ const Filters = ({
6969

7070
{jobFilter && (
7171
<div className="background-light800_dark300 mt-2 flex items-center rounded-lg px-3 py-2 shadow-none md:mt-0">
72-
<Switcher query="remote" label="Remote Only" />
72+
<Switcher query="remote" label="Remote" />
7373
<Switcher query="wage" label="TBA" />
7474
<Switcher query="skills" label="Skills" />
7575
</div>

0 commit comments

Comments
 (0)