An auto margin on a grid item absorbs positive free space prior to alignment via the box alignment properties, disabling the effects of any self-alignment in that axis. We were applying both auto-margin absorption and alignment additively, which doubled the offset and pushed the item outside its grid area when, for example, `margin-top: auto` was combined with `align-items: center`. |
||
|---|---|---|
| .. | ||
| data | ||
| expected | ||
| input | ||