Fix some details for Lighthouse score
This commit is contained in:
@ -36,9 +36,3 @@ const { image = {}, sources = [] } = picture || {}
|
|||||||
<img {...image} {loading} {decoding} {alt} class={className} />
|
<img {...image} {loading} {decoding} {alt} class={className} />
|
||||||
</picture>
|
</picture>
|
||||||
}
|
}
|
||||||
|
|
||||||
<style>
|
|
||||||
img {
|
|
||||||
content-visibility: auto;
|
|
||||||
}
|
|
||||||
</style>
|
|
@ -14,7 +14,7 @@ const {
|
|||||||
<Icon name={iconName} class={iconClass} optimize={false} />
|
<Icon name={iconName} class={iconClass} optimize={false} />
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<style is:global>
|
<style is:inline>
|
||||||
[data-aw-toggle-menu] path {
|
[data-aw-toggle-menu] path {
|
||||||
@apply transition;
|
@apply transition;
|
||||||
}
|
}
|
||||||
|
@ -18,3 +18,9 @@ const { meta = {} } = Astro.props;
|
|||||||
<BasicScripts />
|
<BasicScripts />
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
<style is:global>
|
||||||
|
img {
|
||||||
|
content-visibility: auto;
|
||||||
|
}
|
||||||
|
</style>
|
Reference in New Issue
Block a user