Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

Refactor flexbox layout and button styles in show-private-key.blade.php

Andras Bacsaid26a0f194b97
diff --git a/resources/views/livewire/server/show-private-key.blade.php b/resources/views/livewire/server/show-private-key.blade.php
index f84086bffe..7c24a3a9b4 100644
--- a/resources/views/livewire/server/show-private-key.blade.php
+++ b/resources/views/livewire/server/show-private-key.blade.php
@@ -14,17 +14,17 @@
</div>
<div class="grid xl:grid-cols-2 grid-cols-1 gap-2">
@forelse ($privateKeys as $private_key)
- <div class="box-without-bg justify-between dark:bg-coolgray-100 bg-white items-center">
- <div class="flex flex-col ">
+ <div class="box-without-bg justify-between dark:bg-coolgray-100 bg-white items-center flex flex-col gap-2">
+ <div class="flex flex-col w-full">
<div class="box-title">{{ $private_key->name }}</div>
<div class="box-description">{{ $private_key->description }}</div>
</div>
@if (data_get($server, 'privateKey.uuid') !== $private_key->uuid)
- <x-forms.button wire:click='setPrivateKey({{ $private_key->id }})'>
- Use this key
+ <x-forms.button class="w-full" wire:click='setPrivateKey({{ $private_key->id }})'>
+ Use this key
</x-forms.button>
@else
- <x-forms.button disabled>
+ <x-forms.button class="w-full" disabled>
Currently used
</x-forms.button>
@endif