Skip to content

Commit

Permalink
use arbitrary value
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaJ2305 committed Dec 27, 2024
1 parent cb80c0e commit 82ef112
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/components/Facility/FacilityCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export const FacilityCard = (props: {
<div className="h-full w-full grow">
<Link
href={`/facility/${facility.id}`}
className="group relative z-0 flex w-full min-w-[15%] items-center justify-center self-stretch facility-view:hidden"
className="group relative z-0 flex w-full min-w-[15%] items-center justify-center self-stretch [@media(min-width:37rem)]:hidden"
>
<Avatar
name={facility.name || ""}
Expand All @@ -77,7 +77,7 @@ export const FacilityCard = (props: {
<div className="flex flex-col gap-5 sm:flex-row">
<Link
href={`/facility/${facility.id}`}
className="hidden h-[10rem] min-h-[10rem] w-[10rem] min-w-[10rem] facility-view:block"
className="hidden h-[10rem] min-h-[10rem] w-[10rem] min-w-[10rem] [@media(min-width:37rem)]:block"
>
<Avatar
name={facility.name || ""}
Expand Down
3 changes: 0 additions & 3 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ module.exports = {
fontFamily: {
sans: ["Figtree", "sans-serif"],
},
screens: {
"facility-view": "37rem",
},
colors: {
green: colors.emerald,
yellow: colors.amber,
Expand Down

0 comments on commit 82ef112

Please sign in to comment.