Apply @tailwindcss/upgrade canonical class migrations

Ran `npx @tailwindcss/upgrade`. Bumps tailwindcss and @tailwindcss/vite to 4.2.x and migrates arbitrary-value syntax to the canonical v4 shorthands (e.g. translate-x-[var(--x)] \u2192 translate-x-(--x), whitespace cleanups inside calc()).
This commit is contained in:
Alex Gleason committed 2026-04-26 21:38:20 -05:00
1 parent 8a02a177f4
commit 1a27af0212
18 files changed
+41 -41

No files matched your search

@@ -33,7 +33,7 @@ export function AudioVisualizer({
)}
onClick={(e) => e.stopPropagation()}
>
<div className="flex-shrink-0 w-10 h-10 rounded-full bg-muted flex items-center justify-center overflow-hidden">
<div className="shrink-0 w-10 h-10 rounded-full bg-muted flex items-center justify-center overflow-hidden">
{avatarUrl ? (
<img src={avatarUrl} alt="" className="w-full h-full object-cover" />
) : (
@@ -599,7 +599,7 @@ export function NoteContent({
}, [groupedTokens]);
return (
<div dir="auto" className={cn('whitespace-pre-wrap break-words overflow-hidden', className, isEmojiOnly && 'text-5xl leading-tight')}>
<div dir="auto" className={cn('whitespace-pre-wrap wrap-break-word overflow-hidden', className, isEmojiOnly && 'text-5xl leading-tight')}>
{groupedTokens.map((token, i) => {
switch (token.type) {
case 'text':
@@ -29,7 +29,7 @@ export function WebxdcEmbed({ url, name, icon, className }: WebxdcEmbedProps) {
)}
>
{icon && (
<img src={icon} alt="" className="w-10 h-10 rounded object-cover flex-shrink-0" />
<img src={icon} alt="" className="w-10 h-10 rounded object-cover shrink-0" />
)}
<div className="min-w-0 flex-1">
<div className="font-medium truncate">{name ?? 'WebXDC app'}</div>