diff --git a/resources/views/business/pages/financial-operations/labor-expenses.blade.php b/resources/views/business/pages/financial-operations/labor-expenses.blade.php index 7f10951e..50d097ef 100644 --- a/resources/views/business/pages/financial-operations/labor-expenses.blade.php +++ b/resources/views/business/pages/financial-operations/labor-expenses.blade.php @@ -241,8 +241,11 @@ } .labor-expense-table thead tr:first-child th[data-labor-group="base"] { + padding-inline: 1rem; background: var(--labor-group-base); box-shadow: inset 0 3px 0 #548235; + letter-spacing: 0.12em; + text-indent: 0.12em; } .labor-expense-table thead tr:first-child th[data-labor-group="original"] { diff --git a/tests/Feature/Business/LaborExpensePageAccessTest.php b/tests/Feature/Business/LaborExpensePageAccessTest.php index 9995f2c8..71c74e46 100644 --- a/tests/Feature/Business/LaborExpensePageAccessTest.php +++ b/tests/Feature/Business/LaborExpensePageAccessTest.php @@ -158,6 +158,10 @@ class LaborExpensePageAccessTest extends FeatureTestCase 'const formatted = parsed.toFixed(2);', $html ); + $this->assertMatchesRegularExpression( + '/th\[data-labor-group="base"\]\s*\{[^}]*padding-inline:\s*1rem;[^}]*letter-spacing:\s*0\.12em;/s', + $html + ); foreach ([ 'base' => 'base', 'original' => 'original', @@ -168,7 +172,7 @@ class LaborExpensePageAccessTest extends FeatureTestCase $this->assertMatchesRegularExpression( '/\.labor-expense-table thead tr:first-child th\[data-labor-group="' . $group . - '"\]\s*\{\s*background:\s*var\(--labor-group-' . + '"\]\s*\{[^}]*background:\s*var\(--labor-group-' . $variable . '\);/s', $html