fix(ui): align title and add button vertically in various views

This commit is contained in:
Stanislas Lange
2025-02-01 21:33:44 +01:00
parent 83f0f9fca4
commit a671dd4562
6 changed files with 6 additions and 6 deletions

View File

@@ -2,7 +2,7 @@
<x-slot:title> <x-slot:title>
Destinations | Coolify Destinations | Coolify
</x-slot> </x-slot>
<div class="flex items-start gap-2"> <div class="flex items-center gap-2">
<h1>Destinations</h1> <h1>Destinations</h1>
@if ($servers->count() > 0) @if ($servers->count() > 0)
<x-modal-input buttonTitle="+ Add" title="New Destination"> <x-modal-input buttonTitle="+ Add" title="New Destination">

View File

@@ -2,7 +2,7 @@
<x-slot:title> <x-slot:title>
Servers | Coolify Servers | Coolify
</x-slot> </x-slot>
<div class="flex items-start gap-2"> <div class="flex items-center gap-2">
<h1>Servers</h1> <h1>Servers</h1>
<x-modal-input buttonTitle="+ Add" title="New Server" :closeOutside="false"> <x-modal-input buttonTitle="+ Add" title="New Server" :closeOutside="false">
<livewire:server.create /> <livewire:server.create />

View File

@@ -2,7 +2,7 @@
<x-slot:title> <x-slot:title>
Project Variable | Coolify Project Variable | Coolify
</x-slot> </x-slot>
<div class="flex gap-2"> <div class="flex gap-2 items-center">
<h1>Shared Variables for {{data_get($project,'name')}}</h1> <h1>Shared Variables for {{data_get($project,'name')}}</h1>
<x-modal-input buttonTitle="+ Add" title="New Shared Variable"> <x-modal-input buttonTitle="+ Add" title="New Shared Variable">
<livewire:project.shared.environment-variable.add :shared="true" /> <livewire:project.shared.environment-variable.add :shared="true" />

View File

@@ -2,7 +2,7 @@
<x-slot:title> <x-slot:title>
Team Variables | Coolify Team Variables | Coolify
</x-slot> </x-slot>
<div class="flex gap-2"> <div class="flex gap-2 items-center">
<h1>Team Shared Variables</h1> <h1>Team Shared Variables</h1>
<x-modal-input buttonTitle="+ Add" title="New Shared Variable"> <x-modal-input buttonTitle="+ Add" title="New Shared Variable">
<livewire:project.shared.environment-variable.add :shared="true" /> <livewire:project.shared.environment-variable.add :shared="true" />

View File

@@ -2,7 +2,7 @@
<x-slot:title> <x-slot:title>
Storages | Coolify Storages | Coolify
</x-slot> </x-slot>
<div class="flex items-start gap-2"> <div class="flex items-center gap-2">
<h1>S3 Storages</h1> <h1>S3 Storages</h1>
<x-modal-input buttonTitle="+ Add" title="New S3 Storage" :closeOutside="false"> <x-modal-input buttonTitle="+ Add" title="New S3 Storage" :closeOutside="false">
<livewire:storage.create /> <livewire:storage.create />

View File

@@ -2,7 +2,7 @@
<x-slot:title> <x-slot:title>
Sources | Coolify Sources | Coolify
</x-slot> </x-slot>
<div class="flex items-start gap-2"> <div class="flex items-center gap-2">
<h1>Sources</h1> <h1>Sources</h1>
<x-modal-input buttonTitle="+ Add" title="New GitHub App" :closeOutside="false"> <x-modal-input buttonTitle="+ Add" title="New GitHub App" :closeOutside="false">
<livewire:source.github.create /> <livewire:source.github.create />