mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 20:49:53 +08:00
Merge pull request #20468 from ant-design/fix-site-dark-switch
feat: prefetch speed up dark.css load
This commit is contained in:
commit
a178810ece
@ -14,6 +14,7 @@
|
||||
{% for cssFile in manifest["css"] %}
|
||||
<link rel="stylesheet" type="text/css" href="{{ root }}{{ cssFile }}" />
|
||||
{% endfor %}
|
||||
<link rel="prefetch" type="text/css" href="/dark.css" />
|
||||
<style id="nprogress-style">
|
||||
#nprogress {
|
||||
display: none;
|
||||
|
Loading…
Reference in New Issue
Block a user