Use prettier-plugin-tailwindcss (#11373)

* use prettier-plugin-tailwindcss to keep class names organized

* use prettierrc file to ensure formatting on save works with vscode

* classname reorder with prettier-plugin-tailwindcss
This commit is contained in:
Josh Hawkins
2024-05-14 09:06:44 -06:00
committed by GitHub
parent b10ae68c1f
commit 1757f4cb04
80 changed files with 682 additions and 597 deletions
+3 -3
View File
@@ -35,7 +35,7 @@ export default function ReviewCard({
return (
<div
className="w-full relative flex flex-col gap-1.5 cursor-pointer"
className="relative flex w-full cursor-pointer flex-col gap-1.5"
onClick={onClick}
>
<ImageLoadingIndicator
@@ -51,8 +51,8 @@ export default function ReviewCard({
onImgLoad();
}}
/>
<div className="flex justify-between items-center">
<div className="flex justify-evenly items-center gap-1">
<div className="flex items-center justify-between">
<div className="flex items-center justify-evenly gap-1">
{event.data.objects.map((object) => {
return getIconForLabel(object, "size-3 text-white");
})}