diff --git a/apps/application/template/embed.js b/apps/application/template/embed.js index 16b814a1d..1e32afffc 100644 --- a/apps/application/template/embed.js +++ b/apps/application/template/embed.js @@ -130,7 +130,7 @@ function initMaxkbStyle(root){ style=document.createElement('style') style.type='text/css' style.innerText= ` - @scope {/* 放大 */ + /* 放大 */ #maxkb .maxkb-enlarge { width: 50%!important; height: 100%!important; @@ -284,7 +284,7 @@ function initMaxkbStyle(root){ to { height: 600px; } - }}` + }` root.appendChild(style) } diff --git a/ui/public/embeb.js b/ui/public/embeb.js index 84da204d6..ee3a99ef8 100644 --- a/ui/public/embeb.js +++ b/ui/public/embeb.js @@ -138,7 +138,7 @@ function initMaxkbStyle(root){ style=document.createElement('style') style.type='text/css' style.innerText= ` - @scope {/* 放大 */ + /* 放大 */ #maxkb .maxkb-enlarge { width: 50%!important; height: 100%!important; @@ -292,7 +292,7 @@ function initMaxkbStyle(root){ to { height: 600px; } - }}` + }` root.appendChild(style) }