summaryrefslogtreecommitdiff
path: root/examples/blog/src/components/HeaderLink.astro
diff options
context:
space:
mode:
authorGravatar Emmanuel Chucks <31349069+emmanuelchucks@users.noreply.github.com> 2022-10-20 19:42:36 +0000
committerGravatar GitHub <noreply@github.com> 2022-10-20 19:42:36 +0000
commited2dfdae5bea93746be883bc528c1fb6407af6eb (patch)
tree88584fbd83dee8fdbdf122d27f6457fc45deac60 /examples/blog/src/components/HeaderLink.astro
parent863391f10e179d87ab1f24f944e8601314ff4db7 (diff)
downloadastro-ed2dfdae5bea93746be883bc528c1fb6407af6eb.tar.gz
astro-ed2dfdae5bea93746be883bc528c1fb6407af6eb.tar.zst
astro-ed2dfdae5bea93746be883bc528c1fb6407af6eb.zip
fix: updates <Picture /> to pass HTML attributes down to the <img /> element (#5038)
* fix: also pass attrs to underlying img `class` for direct img styling, `width` & `height` to prevent layout shift, etc need to be passed to the underlying img tag to work. * remove redundant attr from picture tag * revert to previous commit - seemed to break some tests - can't deal with fixing that right now, maybe later * only passing attributes to the img * adding a note to the README * chore: add changeset Co-authored-by: Tony Sullivan <tony.f.sullivan@outlook.com>
Diffstat (limited to 'examples/blog/src/components/HeaderLink.astro')
0 files changed, 0 insertions, 0 deletions