Skip to content

Commit 6c065a6

Browse files
committed
fixing responsiveness issues with cleanup and restart buttons
1 parent 3b6e585 commit 6c065a6

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

apps/ui/src/lib/components/Usage.svelte

+7-5
Original file line numberDiff line numberDiff line change
@@ -85,17 +85,19 @@
8585
</script>
8686

8787
<div class="w-full">
88-
<div class="flex items-center">
88+
<div class="items-center grid grid-flow-row md:grid-flow-col md:w-96 gap-4">
8989
<h1 class="title text-4xl">Hardware Details</h1>
90-
<div class="flex space-x-4">
90+
<div class="grid gap-4">
9191
{#if $appSession.teamId === '0'}
92-
<button on:click={manuallyCleanupStorage} class:loading={loading.cleanup} class="btn btn-sm"
93-
>Cleanup Storage</button
92+
<button
93+
on:click={manuallyCleanupStorage}
94+
class:loading={loading.cleanup}
95+
class="btn btn-sm h-14">Cleanup Storage</button
9496
>
9597
<button
9698
on:click={restartCoolify}
9799
class:loading={loading.restart}
98-
class="btn btn-sm bg-red-600 hover:bg-red-500">Restart Coolify</button
100+
class="btn btn-sm h-14 bg-red-600 hover:bg-red-500">Restart Coolify</button
99101
>
100102
{/if}
101103
</div>

0 commit comments

Comments
 (0)