mirror of
https://github.com/lukevella/rallly.git
synced 2025-08-06 09:59:00 +02:00
🎨 Sort classes (#1750)
This commit is contained in:
parent
af7b0a82d1
commit
dcc41eb0f1
120 changed files with 374 additions and 365 deletions
|
@ -21,7 +21,7 @@ export async function LicenseLimitWarning() {
|
|||
}
|
||||
|
||||
return (
|
||||
<div className="bg-muted p-2 text-center text-sm rounded-md m-1 text-muted-foreground">
|
||||
<div className="m-1 rounded-md bg-muted p-2 text-center text-muted-foreground text-sm">
|
||||
<Trans
|
||||
i18nKey="licenseLimitWarning"
|
||||
defaults="You have exceeded the limits of your license. Please <a>upgrade</a>."
|
||||
|
|
|
@ -24,10 +24,10 @@ export function PollListItem({
|
|||
}) {
|
||||
return (
|
||||
<StackedListItem>
|
||||
<div className="relative -m-4 flex min-w-0 flex-1 items-center gap-2 p-4">
|
||||
<div className="-m-4 relative flex min-w-0 flex-1 items-center gap-2 p-4">
|
||||
<PollStatusIcon status={status} showTooltip={false} />
|
||||
<Link
|
||||
className="focus:ring-ring min-w-0 text-sm font-medium hover:underline focus-visible:ring-2"
|
||||
className="min-w-0 font-medium text-sm hover:underline focus:ring-ring focus-visible:ring-2"
|
||||
href={pollLink}
|
||||
>
|
||||
<span className="absolute inset-0" />
|
||||
|
|
|
@ -16,7 +16,7 @@ export async function QuickCreateWidget() {
|
|||
return (
|
||||
<div className="space-y-8">
|
||||
<div className="space-y-6">
|
||||
<div className="text-primary inline-flex items-center justify-center gap-2 rounded-md font-medium">
|
||||
<div className="inline-flex items-center justify-center gap-2 rounded-md font-medium text-primary">
|
||||
<ZapIcon className="size-5" />
|
||||
<h2>
|
||||
<Trans
|
||||
|
@ -27,7 +27,7 @@ export async function QuickCreateWidget() {
|
|||
/>
|
||||
</h2>
|
||||
</div>
|
||||
<p className="text-muted-foreground text-pretty">
|
||||
<p className="text-pretty text-muted-foreground">
|
||||
<Trans
|
||||
t={t}
|
||||
ns="app"
|
||||
|
@ -57,7 +57,7 @@ export async function QuickCreateWidget() {
|
|||
</div>
|
||||
<div className="min-w-0 flex-1">
|
||||
<div className="truncate font-medium">{poll.title}</div>
|
||||
<div className="text-muted-foreground whitespace-nowrap text-sm">
|
||||
<div className="whitespace-nowrap text-muted-foreground text-sm">
|
||||
<RelativeDate date={poll.createdAt} />
|
||||
</div>
|
||||
</div>
|
||||
|
@ -94,7 +94,7 @@ export async function QuickCreateWidget() {
|
|||
/>
|
||||
</h3>
|
||||
</div>
|
||||
<ul className="text-muted-foreground space-y-2">
|
||||
<ul className="space-y-2 text-muted-foreground">
|
||||
<li className="flex items-center gap-2">
|
||||
<Icon variant="success" size="lg">
|
||||
<CheckIcon />
|
||||
|
|
|
@ -43,7 +43,7 @@ export function ScheduledEventListItem({
|
|||
format="LL"
|
||||
/>
|
||||
</div>
|
||||
<div className="text-muted-foreground mt-1">
|
||||
<div className="mt-1 text-muted-foreground">
|
||||
{allDay ? (
|
||||
<Trans i18nKey="allDay" defaults="All day" />
|
||||
) : (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue