mirror of
https://github.com/tiennm99/coolify.git
synced 2026-08-18 16:23:13 +00:00
Always reserve vertical scrollbar space on base and v5 body layouts to prevent content shift. Match notification event multiselect panel open/close transitions to other listboxes.
11 lines
411 B
PHP
11 lines
411 B
PHP
<?php
|
|
|
|
test('app layouts always reserve space for the vertical scrollbar', function (string $layout) {
|
|
$contents = file_get_contents(dirname(__DIR__, 2).'/'.$layout);
|
|
|
|
expect($contents)->toMatch('/<body(?:\s+[^>]*)?class="[^"]*overflow-y-scroll[^"]*"[^>]*>/');
|
|
})->with([
|
|
'current interface' => 'resources/views/layouts/base.blade.php',
|
|
'v5 interface' => 'resources/views/v5/app.blade.php',
|
|
]);
|