We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36b8616 commit 1c960f2Copy full SHA for 1c960f2
src/layout/src/wwwroot/AntDesign.ProLayout.lib.module.js
@@ -19,7 +19,7 @@ function loadScriptAndStyle() {
19
const antblazorCss = '_content/AntDesign/css/ant-design-blazor.css';
20
const prolayoutCss = '_content/AntDesign.ProLayout/css/ant-design-pro-layout-blazor.css';
21
22
- if (!document.querySelector(`[href="${prolayoutCss}"]`)){
+ if (!document.querySelector(`[href="${prolayoutCss}"]`) && !document.querySelector('[no-prolayout-css]')){
23
var customStyle = document.createElement('link');
24
customStyle.setAttribute('href', `${prolayoutCss}`);
25
customStyle.setAttribute('rel', 'stylesheet');
@@ -33,4 +33,4 @@ function loadScriptAndStyle() {
33
document.head.appendChild(customStyle);
34
}
35
36
-}
+}
0 commit comments