chore(i18n,curriculum): update translations (#42407)

This commit is contained in:
camperbot
2021-06-08 23:52:55 +09:00
committed by GitHub
parent 3875c6e619
commit d81a451f4b
3 changed files with 6 additions and 6 deletions

View File

@ -37,14 +37,14 @@ Debes declarar una consulta `@media` para dispositivos con un `height` menor o i
```js
const media = new __helpers.CSSHelp(document).getCSSRules('media');
assert(media.some(x => x.conditionText?.includes('(max-height: 800px)')));
assert(media.some(x => x.media?.mediaText?.includes('(max-height: 800px)')));
```
Tu elemento `p` debe tener un `font-size` de `10px` cuando el `height` del dispositivo sea menor o igual a `800px`.
```js
const rules = new __helpers.CSSHelp(document).getRuleListsWithinMedia('(max-height: 800px)');
assert(rules?.find(x => x.selectorText === 'p')?.style.fontSize === "10px");
assert(rules?.find(x => x.selectorText === 'p')?.style?.fontSize === "10px");
```
Tu elemento `p` debe tener un `font-size` inicial de `20px` cuando el dispositivo `height` sea superior a `800px`.