fix(curriculum): use CSSHelper for grid-template-columns (#43982)
parent
039809d961
commit
a961b2c032
|
@ -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`.
|
`container` class should have a `grid-template-columns` property with three units of `100px`.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
assert(
|
assert(new __helpers.CSSHelp(document).getStyle('.container')?.gridTemplateColumns === '100px 100px 100px');
|
||||||
code.match(
|
|
||||||
/.container\s*?{[\s\S]*grid-template-columns\s*?:\s*?100px\s*?100px\s*?100px\s*?;[\s\S]*}/gi
|
|
||||||
)
|
|
||||||
);
|
|
||||||
```
|
```
|
||||||
|
|
||||||
# --seed--
|
# --seed--
|
||||||
|
|
Loading…
Reference in New Issue