fix(servers): cap a lone firewall/fail2ban panel so it doesn't stretch full width
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>feat/v1-foundation
parent
a8616809f1
commit
6a4ba16480
|
|
@ -272,7 +272,12 @@
|
|||
@endphp
|
||||
|
||||
@if ($panelCount > 0)
|
||||
<div @class(['grid grid-cols-1 gap-3', 'lg:grid-cols-2 lg:items-start' => $panelCount === 2])>
|
||||
{{-- Two tools → side-by-side; a lone tool is capped so it doesn't stretch edge-to-edge. --}}
|
||||
<div @class([
|
||||
'grid grid-cols-1 gap-3',
|
||||
'lg:grid-cols-2 lg:items-start' => $panelCount === 2,
|
||||
'lg:max-w-2xl' => $panelCount === 1,
|
||||
])>
|
||||
@if ($showFw)
|
||||
{{-- Firewall-Regeln --}}
|
||||
<x-panel :title="__('servers.firewall_title')"
|
||||
|
|
|
|||
Loading…
Reference in New Issue