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} />
|
||||
</picture>
|
||||
}
|
||||
|
||||
<style>
|
||||
img {
|
||||
content-visibility: auto;
|
||||
}
|
||||
</style>
|
@ -14,7 +14,7 @@ const {
|
||||
<Icon name={iconName} class={iconClass} optimize={false} />
|
||||
</button>
|
||||
|
||||
<style is:global>
|
||||
<style is:inline>
|
||||
[data-aw-toggle-menu] path {
|
||||
@apply transition;
|
||||
}
|
||||
|
@ -18,3 +18,9 @@ const { meta = {} } = Astro.props;
|
||||
<BasicScripts />
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<style is:global>
|
||||
img {
|
||||
content-visibility: auto;
|
||||
}
|
||||
</style>
|
Reference in New Issue
Block a user