diff --git a/components/button/button.tsx b/components/button/button.tsx index 4a5134220..27a138abd 100644 --- a/components/button/button.tsx +++ b/components/button/button.tsx @@ -44,7 +44,7 @@ const Button: React.ForwardRefRenderFunction = ( "btn-danger": type === "danger", "btn-link": type === "link", "btn-disabled": disabled, - "rounded-full p-2 h-auto": rounded, + "h-auto rounded-full p-2": rounded, "w-10 p-0": !children, }, className, @@ -54,7 +54,7 @@ const Button: React.ForwardRefRenderFunction = ( > {loading ? ( diff --git a/components/compact-button.tsx b/components/compact-button.tsx index d1e60fd47..e4cbf947f 100644 --- a/components/compact-button.tsx +++ b/components/compact-button.tsx @@ -17,10 +17,10 @@ const CompactButton: React.VoidFunctionComponent = ({ return ( ); }; diff --git a/components/cookie-consent.tsx b/components/cookie-consent.tsx index 037286933..284a04113 100644 --- a/components/cookie-consent.tsx +++ b/components/cookie-consent.tsx @@ -21,14 +21,14 @@ const CookieConsentPopover: React.VoidFunctionComponent = () => { leave="duration-200" leaveFrom="opacity-100 translate-y-0" leaveTo="opacity-0 translate-y-8" - className="bg-white z-50 p-4 pt-8 shadow-lg fixed rounded-lg w-60 text-sm bottom-8 right-8" + className="fixed bottom-8 right-8 z-50 w-60 rounded-lg bg-white p-4 pt-8 text-sm shadow-lg" >
Your privacy is important to us. We only use cookies to improve the browsing experience on this website.
-
+
Privacy Policy @@ -37,7 +37,7 @@ const CookieConsentPopover: React.VoidFunctionComponent = () => { Cookies.set("rallly_cookie_consent", "1", { expires: 365 }); setVisible(false); }} - className="grow text-white focus:ring-2 focus:ring-indigo-200 transition-all bg-indigo-500 hover:bg-indigo-500/90 active:bg-indigo-600/90 px-5 py-1 font-semibold shadow-sm rounded-md" + className="grow rounded-md bg-indigo-500 px-5 py-1 font-semibold text-white shadow-sm transition-all hover:bg-indigo-500/90 focus:ring-2 focus:ring-indigo-200 active:bg-indigo-600/90" > OK diff --git a/components/date-card.tsx b/components/date-card.tsx index b75e3c246..f4aa18ad9 100644 --- a/components/date-card.tsx +++ b/components/date-card.tsx @@ -19,20 +19,20 @@ const DateCard: React.VoidFunctionComponent = ({ return (
{annotation ? (
{annotation}
) : null} -
- +
+ {dow}
-
{day}
-
+
{day}
+
{month}
diff --git a/components/discussion/discussion.tsx b/components/discussion/discussion.tsx index 2395e0217..b4691c95e 100644 --- a/components/discussion/discussion.tsx +++ b/components/discussion/discussion.tsx @@ -45,7 +45,7 @@ const Comments: React.VoidFunctionComponent<{ canDelete?: boolean; }> = ({ comments, deletedComments, onDelete, canDelete }) => { return ( -
+
{comments.map((comment, i) => { return (
@@ -58,9 +58,9 @@ const Comments: React.VoidFunctionComponent<{ leave="transition transform duration-100" leaveFrom="opacity-100" leaveTo="opacity-0" - className="bg-white border rounded-xl px-3 py-2 shadow-sm w-fit" + className="w-fit rounded-xl border bg-white px-3 py-2 shadow-sm" > -
+
{comment.authorName} @@ -175,8 +175,8 @@ const Discussion: React.VoidFunctionComponent = ({ } return ( -
-
+
+
Comments
{comments.length ? ( @@ -211,10 +211,10 @@ const Discussion: React.VoidFunctionComponent = ({