This commit is contained in:
Vendored
+1
-1
@@ -12,7 +12,7 @@ async function read(relativePath) {
|
||||
test('bootstrap screen remains vertically scrollable on small displays', async () => {
|
||||
const css = await read('public/css/bootstrap.css');
|
||||
const bootstrapRule = css.match(/#bootstrap-screen\s*\{([\s\S]*?)\}/)?.[1] ?? '';
|
||||
const cardRule = css.match(/#bootstrap-screen\s*>\s*section\s*\{([\s\S]*?)\}/)?.[1] ?? '';
|
||||
const cardRule = css.match(/#bootstrap-screen\s*>\s*\.bootstrap-card\s*\{([\s\S]*?)\}/)?.[1] ?? '';
|
||||
|
||||
assert.match(bootstrapRule, /overflow-y:\s*auto/);
|
||||
assert.match(bootstrapRule, /overflow-x:\s*hidden/);
|
||||
|
||||
Reference in New Issue
Block a user