Refactor admin_users.php layout for improved responsiveness

This commit is contained in:
Fabian Schieder 2026-04-03 22:39:11 +02:00
parent d72225a3fd
commit ed397934e6

View File

@ -129,8 +129,8 @@ if (!empty($formActionParams)) {
<?php include 'header.php'; ?> <?php include 'header.php'; ?>
<main class="auth" role="main"> <main class="auth" role="main">
<section class="auth__grid" style="display: block; max-width: 900px; margin: 40px auto; width: 90%;"> <section class="auth__grid" style="display: block; max-width: 95%; width: max-content; margin: 40px auto; overflow-x: auto;">
<div class="auth__card" style="width: 100%;"> <div class="auth__card" style="width: 100%; min-width: max-content;">
<header class="auth__header"> <header class="auth__header">
<h1 class="auth__title">Benutzerverwaltung</h1> <h1 class="auth__title">Benutzerverwaltung</h1>
<p style="text-align: center; color: #94a3b8; font-size: 0.9rem; margin-top: 5px;">Hier siehst du alle registrierten Benutzer.</p> <p style="text-align: center; color: #94a3b8; font-size: 0.9rem; margin-top: 5px;">Hier siehst du alle registrierten Benutzer.</p>
@ -173,7 +173,7 @@ if (!empty($formActionParams)) {
</button> </button>
</div> </div>
<div style="overflow-x: auto; margin-top: 20px;"> <div style="margin-top: 20px;">
<table style="width: 100%; border-collapse: collapse; text-align: left; color: #f8fafc;"> <table style="width: 100%; border-collapse: collapse; text-align: left; color: #f8fafc;">
<thead> <thead>
<tr style="border-bottom: 2px solid #334155;"> <tr style="border-bottom: 2px solid #334155;">