diff --git a/apps/studio/components/interfaces/Storage/StorageExplorer/PreviewPane.tsx b/apps/studio/components/interfaces/Storage/StorageExplorer/PreviewPane.tsx index 9aab438c033..181df2a5022 100644 --- a/apps/studio/components/interfaces/Storage/StorageExplorer/PreviewPane.tsx +++ b/apps/studio/components/interfaces/Storage/StorageExplorer/PreviewPane.tsx @@ -99,9 +99,9 @@ const CurrentFilePreview = ({
- {file.name} -
+ {/* No `title`: the explorer rows use it as their handle, and a second + element carrying the same one makes `getByTitle` ambiguous. */} +{file.name}
{mimeType}
{size && <>, {size}>}
@@ -137,7 +137,7 @@ const CurrentFilePreview = ({
disabled={file.isCorrupted}
onClick={() => onCopyUrl(file.path!)}
>
- Copy URL
+ Get URL
) : (
+
{dayjs(selectedVersion.createdAt).format('MMM D')} · {formatBytes(selectedVersion.size)}
+
Current{currentVersion && <> · {formatBytes(currentVersion.size)}>}
diff --git a/apps/studio/components/interfaces/Storage/StorageExplorer/VersionHistoryPolicyRow.tsx b/apps/studio/components/interfaces/Storage/StorageExplorer/VersionHistoryPolicyRow.tsx index 0cca5f5c9a9..c9ad9b0ca23 100644 --- a/apps/studio/components/interfaces/Storage/StorageExplorer/VersionHistoryPolicyRow.tsx +++ b/apps/studio/components/interfaces/Storage/StorageExplorer/VersionHistoryPolicyRow.tsx @@ -5,7 +5,7 @@ import { Button, cn, HoverCard, HoverCardContent, HoverCardTrigger } from 'ui' import { BroomSparklesIcon } from '../BroomSparklesIcon' import type { ExpirationMode } from '../StorageVersioning.constants' -const POLICY_CHIP_CLASSNAME = 'rounded-sm border px-1.5 py-0.5 font-mono text-[10.5px]' +const POLICY_CHIP_CLASSNAME = 'rounded-sm border px-1.5 py-0.5 font-mono text-xs' const PolicyChip = ({ children }: { children: ReactNode }) => ( @@ -86,9 +86,7 @@ export const VersionHistoryPolicyRow = ({ {hasCap &&