fix(curriculum): use CSSHelper for grid-template-columns (#43982)

pull/44120/head
Kolja Markwardt 2021-11-04 09:24:18 +01:00 committed by GitHub
parent 039809d961
commit a961b2c032
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 5 deletions

View File

@ -29,11 +29,7 @@ Give the grid container three columns that are each `100px` wide.
`container` class should have a `grid-template-columns` property with three units of `100px`.
```js
assert(
code.match(
/.container\s*?{[\s\S]*grid-template-columns\s*?:\s*?100px\s*?100px\s*?100px\s*?;[\s\S]*}/gi
)
);
assert(new __helpers.CSSHelp(document).getStyle('.container')?.gridTemplateColumns === '100px 100px 100px');
```
# --seed--