diff --git a/adminer/adminer.css b/adminer/adminer.css index e625616..2e3d209 100644 --- a/adminer/adminer.css +++ b/adminer/adminer.css @@ -13,6 +13,7 @@ --radius: 16px; --transition: 0.25s ease; --accent: #6366f1; + --wrap-max: 900px; } html { scroll-behavior: smooth; overflow-x: hidden; } @@ -84,7 +85,16 @@ body::before { /* ── LAYOUT ───────────────────────────────────── */ .wrap { width: 100%; - max-width: 900px; + max-width: var(--wrap-max); +} + +/* Full width nur für die Tabellen-Ansicht */ +.wrap.wrap--wide { + max-width: 1400px; +} + +.wrap.wrap--full { + max-width: 100%; } /* ── ANIMATIONS ───────────────────────────────── */ diff --git a/adminer/index.php b/adminer/index.php index e645e38..e3b8287 100644 --- a/adminer/index.php +++ b/adminer/index.php @@ -476,14 +476,15 @@ try { $body .= ''; // right col $body .= ''; // admin-grid - admin_layout('DB-Verwaltung', $body, h($dbName)); + admin_layout('DB-Verwaltung', $body, h($dbName), 'wrap--full'); } catch (Throwable $e) { admin_logout(); admin_layout('DB-Verwaltung', '
' . h($e->getMessage()) . '
' . '

Zurück zum Login

', - 'Fehler' + 'Fehler', + 'wrap--wide' ); } diff --git a/adminer/views.php b/adminer/views.php index fa2b1e2..576a7da 100644 --- a/adminer/views.php +++ b/adminer/views.php @@ -6,7 +6,7 @@ function h($s) return htmlspecialchars((string)$s, ENT_QUOTES); } -function admin_layout($title, $bodyHtml, $subtitle = 'Datenbankverwaltung') +function admin_layout($title, $bodyHtml, $subtitle = 'Datenbankverwaltung', string $wrapClass = '') { ?> @@ -26,7 +26,7 @@ function admin_layout($title, $bodyHtml, $subtitle = 'Datenbankverwaltung')
-
+
FS