Picture-elements markdown: Add transform:none. (#19147)

Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
This commit is contained in:
Ohad Benita 2021-08-31 16:57:43 +03:00 committed by GitHub
parent 0e6d0ab82d
commit fe09f60593
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -435,7 +435,7 @@ user:
### How to use the style object
Position and style your elements using [CSS](https://developer.mozilla.org/en-US/docs/Web/CSS). More/other keys are also possible.
Note, the default style for most elements includes [translate](https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/translate)(-50%, -50%), which means that the coordinates you provide will set the position of the center of the element.
Note, the default style for most elements includes [translate](https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/translate)(-50%, -50%), which means that the coordinates you provide will set the position of the center of the element. Use `transform: none` to disable this behavior.
```yaml
style: