You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The VPHero image does only set the 'max-width' inside the media querys but not 'max-height'.
This leads to an overlap of the hero image and the content that follows it.
https://pinia.vuejs.org/ had the same problem with its hero image, beeing 214px in width and 320px in height.
They solved it by adding max-height to their custom css.
Describe the bug
The VPHero image does only set the 'max-width' inside the media querys but not 'max-height'.
This leads to an overlap of the hero image and the content that follows it.
https://pinia.vuejs.org/ had the same problem with its hero image, beeing 214px in width and 320px in height.
They solved it by adding
max-height
to their custom css.The better solution would be to just add it to the VPHero component.
Reproduction
Take an image which is not cubical, so has more height than width and set it as hero image
Expected behavior
The VPHero image height should scale like the width.
System Info
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: