From 69553ec31439f9782a979fd178424fecf5c5cbc6 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Wed, 2 Oct 2024 18:26:51 +0200 Subject: [PATCH] refactor: Improve popup component styling and button behavior --- resources/views/components/popup.blade.php | 10 ++++------ resources/views/livewire/layout-popups.blade.php | 15 +++++---------- 2 files changed, 9 insertions(+), 16 deletions(-) diff --git a/resources/views/components/popup.blade.php b/resources/views/components/popup.blade.php index 8061c29bd..6ae63a644 100644 --- a/resources/views/components/popup.blade.php +++ b/resources/views/components/popup.blade.php @@ -6,10 +6,10 @@ x-transition:enter-start="translate-y-full" x-transition:enter-end="translate-y-0" x-transition:leave="transition ease-in duration-300" x-transition:leave-start="translate-y-0" x-transition:leave-end="translate-y-full" x-init="setTimeout(() => { bannerVisible = true }, bannerVisibleAfter);" - class="fixed bottom-0 right-0 w-full h-auto duration-300 ease-out sm:px-5 sm:pb-5 sm:w-[26rem] lg:w-full z-[999]" + class="fixed bottom-0 right-0 w-full h-auto duration-300 ease-out sm:px-5 sm:pb-5 w-full z-[999]" x-cloak>
+ class="flex items-center flex-col justify-between w-full h-full max-w-4xl p-6 mx-auto bg-white border shadow-lg lg:border-t dark:border-coolgray-300 dark:bg-coolgray-100 lg:p-8 lg:flex-row sm:rounded">
@if (isset($icon)) @@ -23,14 +23,12 @@

{{ $description }}

-
-
diff --git a/resources/views/livewire/layout-popups.blade.php b/resources/views/livewire/layout-popups.blade.php index b2cc76f2f..8e75a2eee 100644 --- a/resources/views/livewire/layout-popups.blade.php +++ b/resources/views/livewire/layout-popups.blade.php @@ -32,21 +32,16 @@ @if (!isCloud()) - WARNING: Realtime Error?! + WARNING: Cannot connect to real-time service - Coolify could not connect to its real-time service.
This will cause unusual problems on the - UI - if - not fixed!

+
This will cause unusual problems on the + UI!

Please ensure that you have opened the required ports, - check the - related documentation or get + target='_blank'>required ports or get help on Discord. - +
Acknowledge & Disable This Popup