From 36f5f5c5146c4e81efc2aaad2c7c8b5a052f047e Mon Sep 17 00:00:00 2001 From: boban Date: Sun, 14 Jun 2026 12:38:47 +0200 Subject: [PATCH] fix(ui): prevent mobile overflow from long URLs and IPv6 bans MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Responsive audit (R7) at 375/768 — all pages were overflow-free with current data, but three elements overflow with long data the live fleet doesn't have: - system: the panel URL link (domain up to 253 chars) had no break-all, and the access-address dd had truncate without min-w-0 (so a flex child won't clip). Add break-all to the link, min-w-0 to the dd, shrink-0 to its label. - servers/show: the fail2ban banned-IP span had no min-w-0/break, so a banned IPv6 pushed the row past 375px. Add min-w-0 break-all + shrink-0 on the button. Verified by injecting a 100-char domain and long IPv6 into those elements at 375px: document no longer overflows (was 1685px → 375px). Co-Authored-By: Claude Opus 4.8 (1M context) --- resources/views/livewire/servers/show.blade.php | 4 ++-- resources/views/livewire/system/index.blade.php | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/resources/views/livewire/servers/show.blade.php b/resources/views/livewire/servers/show.blade.php index b856a78..02f3d29 100644 --- a/resources/views/livewire/servers/show.blade.php +++ b/resources/views/livewire/servers/show.blade.php @@ -406,8 +406,8 @@
@foreach ($jail['bannedIps'] as $ip)
- {{ $ip }} - {{ __('common.unlock') }} + {{ $ip }} + {{ __('common.unlock') }}
@endforeach
diff --git a/resources/views/livewire/system/index.blade.php b/resources/views/livewire/system/index.blade.php index 9a0be47..7145e94 100644 --- a/resources/views/livewire/system/index.blade.php +++ b/resources/views/livewire/system/index.blade.php @@ -27,7 +27,7 @@

{{ __('system.tls_active_title') }}

{{ __('system.tls_active_body_pre') }} - {{ $panelUrl }} · + {{ $panelUrl }} · {{ __('system.tls_active_body_post') }}

@@ -77,8 +77,8 @@ {{-- Current access address (read-only status) --}}
-
{{ __('system.access_address') }}
-
+
{{ __('system.access_address') }}
+
@if ($panelUrl) {{ $panelUrl }} @else