This is a barebones example of the bug in astro where the position attribute has no effect, though it is described in the docs
Documentation on https://docs.astro.build/en/guides/images/#responsive-image-styles states that "You can override the object-fit and object-position styles on a per-image basis by setting the fit and position props on the or component."
Fit props work but position props do not.
All commands are run from the root of the project, from a terminal:
| Command | Action |
|---|---|
npm install |
Installs dependencies |
npm run dev |
Starts local dev server at localhost:4321 |
npm run build |
Build your production site to ./dist/ |
npm run preview |
Preview your build locally, before deploying |