fix: prevent admin user table from overflowing its card
The 6-column user table could not shrink below its content width at the 40rem main column, so the Created column was clipped past the card border. Tighten cell padding to fit all columns, and add overflow-x: auto on the table container as a safety net for longer content. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
2fc2bdcabb
commit
3cbae6255b
1 changed files with 5 additions and 1 deletions
|
|
@ -205,6 +205,10 @@ main {
|
|||
line-height: 1;
|
||||
}
|
||||
|
||||
#user-table-container {
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.admin-table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
|
|
@ -214,7 +218,7 @@ main {
|
|||
.admin-table th,
|
||||
.admin-table td {
|
||||
text-align: left;
|
||||
padding: var(--sp-2) var(--sp-3);
|
||||
padding: var(--sp-2);
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue