Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Minor styling adjustmnets

Joshen Limf3bd68f1ed82
diff --git a/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerColumn.js b/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerColumn.js
index ee32fb3ecd8..e9fe16f01b3 100644
--- a/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerColumn.js
+++ b/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerColumn.js
@@ -177,10 +177,10 @@ const FileExplorerColumn = ({
"
>
<SelectAllCheckbox />
- <p className="text-sm" style={{ width: '30%', minWidth: '250px' }}>
+ <p className="text-sm" style={{ width: '33%', minWidth: '250px' }}>
Name
</p>
- <p className="text-sm" style={{ width: '15%', minWidth: '100px' }}>
+ <p className="text-sm" style={{ width: '12%', minWidth: '100px' }}>
Size
</p>
<p className="text-sm" style={{ width: '15%', minWidth: '100px' }}>
diff --git a/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerRow.js b/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerRow.js
index a37820a7829..0417e89ff88 100644
--- a/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerRow.js
+++ b/studio/components/to-be-cleaned/Storage/StorageExplorer/FileExplorerRow.js
@@ -220,11 +220,7 @@ const FileExplorerRow = ({
>
<div className="w-full flex flex-grow items-center">
{/* Row Checkbox / Row Icon */}
- <div
- className="relative"
- style={{ minWidth: view === STORAGE_VIEWS.COLUMNS ? '10%' : 'auto' }}
- onClick={(event) => event.stopPropagation()}
- >
+ <div className="relative w-[30px]" onClick={(event) => event.stopPropagation()}>
{!isSelected && (
<div
className={`absolute ${
@@ -252,7 +248,7 @@ const FileExplorerRow = ({
{/* Row Text */}
<div
- className="flex items-center h-full py-2"
+ className="flex items-center h-full py-2 flex-grow"
style={{ width: view === STORAGE_VIEWS.COLUMNS ? '80%' : '100%' }}
onClick={(event) => {
event.stopPropagation()
@@ -273,8 +269,8 @@ const FileExplorerRow = ({
</div>
) : (
<>
- <p className="text-sm truncate w-[30%] min-w-[250px]">{item.name}</p>
- <p className="text-sm truncate w-[15%] min-w-[100px]">{size}</p>
+ <p className="text-sm truncate w-[33%] min-w-[250px]">{item.name}</p>
+ <p className="text-sm truncate w-[12%] min-w-[100px]">{size}</p>
<p className="text-sm truncate w-[15%] min-w-[100px]">{mimeType}</p>
<p className="text-sm truncate w-[20%] min-w-[180px]">{createdAt}</p>
<p className="text-sm truncate w-[20%] min-w-[175px]">{updatedAt}</p>