summaryrefslogtreecommitdiffstats
path: root/apps/theming/src/components/ItemPreview.vue
diff options
context:
space:
mode:
Diffstat (limited to 'apps/theming/src/components/ItemPreview.vue')
-rw-r--r--apps/theming/src/components/ItemPreview.vue4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/theming/src/components/ItemPreview.vue b/apps/theming/src/components/ItemPreview.vue
index 9299543a08b..dd70a66ec96 100644
--- a/apps/theming/src/components/ItemPreview.vue
+++ b/apps/theming/src/components/ItemPreview.vue
@@ -95,6 +95,8 @@ export default {
}
</script>
<style lang="scss" scoped>
+@use 'sass:math';
+
.theming__preview {
// We make previews on 16/10 screens
--ratio: 16;
@@ -144,7 +146,7 @@ export default {
}
}
-@media (max-width: (1024px / 1.5)) {
+@media (max-width: math.div(1024px, 1.5)) {
.theming__preview {
flex-direction: column;