我在这里读到(https://www.gatsbyjs.org/packages/gatsby-image/#avoiding-stretched-images-using-the-fluid-type),我应该能够使Gatsby组件保持其最大宽度,即使该宽度小于父容器元素的宽度。我相信我知道他们在文档中给出的代码样本中发生了什么,但当我尝试将其调整到我的代码时,图像仍然拉伸以填充容器宽度。 他们的代码: // in React component let normalizedProps = props