#14016 Fixed, added cache buster to Block Grid Editor stylesheets

This commit is contained in:
Markus Johansson
2023-03-28 14:26:59 +02:00
committed by Laura Neto
parent 9a638b6edc
commit 80f6bb404a
2 changed files with 3 additions and 3 deletions

View File

@@ -51,7 +51,7 @@
`
${ model.stylesheet ? `
<style>
@import "${model.stylesheet}"
@import "${model.stylesheet}?umb__rnd=${Umbraco.Sys.ServerVariables.application.cacheBuster}"
</style>`
: ''
}

View File

@@ -35,8 +35,8 @@
shadowRoot.innerHTML =
`
<style>
{{vm.stylesheet ? "@import '"+vm.stylesheet+"';" : ""}}
@import 'assets/css/blockgridui.css';
{{vm.stylesheet ? "@import '" + vm.stylesheet + "?umb__rnd=${Umbraco.Sys.ServerVariables.application.cacheBuster}';" : ""}}
@import 'assets/css/blockgridui.css?umb__rnd=${Umbraco.Sys.ServerVariables.application.cacheBuster}';
:host {
--umb-block-grid--grid-columns: ${vm.gridColumns};
}