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
SVG feature icons in the home layout expand to fit the width of their feature element, rather than being constrained to the size specified in their width declaration.
Reproduction
Context
Given the frontmatter
---
layout: home
hero:
name: Bug example
features:
- icon:
src: /flag-solid.svg
width: 50
title: Bug example
details: The icon expands to fit the width of the feature element, rather than being constrained to 50px
---
Expected behavior
Expected
The feature icon is expected to size to the width specified by the width declaration.
Describe the bug
Bug
SVG feature icons in the
home
layout expand to fit the width of their feature element, rather than being constrained to the size specified in theirwidth
declaration.Reproduction
Context
Given the frontmatter
Expected behavior
Expected
The feature icon is expected to size to the width specified by the
width
declaration.System Info
System: OS: Windows 10 Binaries: Node: 18.13.0 npm: 8.19.3 Browsers: Chrome: 109 npmPackages: vitepress: ^1.0.0-alpha.40 => 1.0.0-alpha.45
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: