Refactor #3965 - Refactor on responsive components

This commit is contained in:
Tuğçe Küçükoğlu 2023-06-05 14:24:13 +03:00
parent 6693602ca3
commit dfcbf5152a
9 changed files with 13 additions and 13 deletions

View file

@ -141,7 +141,7 @@ export default {
this.changePage(this.page);
},
createStyle() {
if (this.hasBreakpoints()) {
if (this.hasBreakpoints() && !this.isUnstyled) {
this.styleElement = document.createElement('style');
this.styleElement.type = 'text/css';
document.head.appendChild(this.styleElement);