mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2026-12-06 00:37:23 +00:00
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:
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>
|
||||
|
||||
Reference in new issue
Block a user