Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/components/CountryDropdown/CountryDropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<Popover className={cx(className)}>
<Popover.Button
className={cx(
"flex items-center justify-center gap-x-1 rounded-md px-4 py-1 text-sm font-semibold text-ssw-black outline-none xs:px-5",
"flex items-center justify-center gap-x-1 rounded-md pl-4 py-1 text-sm font-semibold text-ssw-black outline-none xs:pr-4",

Check failure on line 54 in lib/components/CountryDropdown/CountryDropdown.tsx

View workflow job for this annotation

GitHub Actions / lint

Replace `l-4·py-1` with `y-1·pl-4`
Comment thread
tiagov8 marked this conversation as resolved.
Outdated
"hover:scale-105",
)}
onClick={() => setIsOpened(!isOpened)}
Expand All @@ -68,13 +68,13 @@
leaveFrom="opacity-100 translate-y-0"
leaveTo="opacity-0 -translate-y-1"
>
<Popover.Panel className="absolute z-10 bg-white text-center shadow-md shadow-gray-400">
<Popover.Panel className="absolute z-10 bg-white text-center shadow-md border px-4 mt-2">

Check failure on line 71 in lib/components/CountryDropdown/CountryDropdown.tsx

View workflow job for this annotation

GitHub Actions / lint

Replace `bg-white·text-center·shadow-md·border·px-4·mt-2` with `mt-2·border·bg-white·px-4·text-center·shadow-md`

Check failure on line 71 in lib/components/CountryDropdown/CountryDropdown.tsx

View workflow job for this annotation

GitHub Actions / lint

Invalid Tailwind CSS classnames order
{websites
.filter((w) => w.country !== currentCountry)
.map((country) => (
<CustomLink
key={country.country}
className="block min-w-[80px] py-2 hover:scale-105"
className="block min-w-[35px] py-2 hover:scale-105"
href={country.url}
title={country.country}
>
Expand Down
Loading