docs: 更新文档封面图片链接以解决缓存问题
在 hero 部分的 image.src 中添加查询参数 ?1 强制浏览器获取最新图片,避免因缓存导致的图片更新延迟问题。 同时为图片添加样式类 image-src 以限制其最大宽度。
This commit is contained in:
@@ -47,4 +47,5 @@ features:
|
|||||||
|
|
||||||
<style>
|
<style>
|
||||||
.extra-class{max-width:1200px;margin:2em auto 0;padding:0 24px;}
|
.extra-class{max-width:1200px;margin:2em auto 0;padding:0 24px;}
|
||||||
|
.image-src{max-width:200px !important;}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user