Skip to content

Commit 98ab060

Browse files
fix(studio): storage settings inputs (supabase#37691)
fix: storage settings inputs The inputs for upload file size limit were overflowing out of the box, even on larger screens. Uses flex instead of grid to handle the inputs gracefully.
1 parent f6419a4 commit 98ab060

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

apps/studio/components/interfaces/Storage/StorageSettings/StorageSettings.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,8 @@ const StorageSettings = () => {
171171
</div>
172172

173173
<div className="relative flex flex-col col-span-12 gap-x-6 gap-y-2 lg:col-span-8">
174-
<div className="grid grid-cols-12 col-span-12 gap-2 items-start">
175-
<div className="col-span-8">
174+
<div className="flex items-center gap-2">
175+
<div className="flex-grow">
176176
<FormField_Shadcn_
177177
control={form.control}
178178
name="fileSizeLimit"
@@ -194,7 +194,7 @@ const StorageSettings = () => {
194194
)}
195195
/>
196196
</div>
197-
<div className="col-span-4">
197+
<div className="flex-shrink-0">
198198
<FormField_Shadcn_
199199
control={form.control}
200200
name="unit"

0 commit comments

Comments
 (0)