1
0
Fork 0

fix: add padding to admin mapping forms

This commit is contained in:
thibaud-leclere 2026-05-11 11:25:06 +02:00
parent 645d8af22d
commit c1d3ea0a30
2 changed files with 19 additions and 0 deletions

View file

@ -141,6 +141,10 @@ a {
box-shadow: 0 16px 40px rgba(23, 32, 51, 0.06); box-shadow: 0 16px 40px rgba(23, 32, 51, 0.06);
} }
.admin-card {
padding: 24px;
}
.admin-table { .admin-table {
width: 100%; width: 100%;
border-collapse: collapse; border-collapse: collapse;

15
tests/AdminCssTest.php Normal file
View file

@ -0,0 +1,15 @@
<?php
namespace App\Tests;
use PHPUnit\Framework\TestCase;
final class AdminCssTest extends TestCase
{
public function testAdminCardDefinesInnerPadding(): void
{
$css = (string) file_get_contents(dirname(__DIR__).'/public/admin.css');
self::assertMatchesRegularExpression('/\.admin-card\s*\{[^}]*\bpadding:\s*24px;/s', $css);
}
}