summaryrefslogtreecommitdiffstats
path: root/apps/theming/src
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2023-04-21 14:01:41 +0200
committerJohn Molakvoæ <skjnldsv@protonmail.com>2023-04-21 14:01:41 +0200
commitab431999c316fc5fbb1344b87adad6fc47ef5860 (patch)
treee9be980f7f371115de8aacf6145aed0dd936ff64 /apps/theming/src
parent497d19531054b53b71a5e05d2fd1b705388e49e1 (diff)
downloadnextcloud-server-ab431999c316fc5fbb1344b87adad6fc47ef5860.tar.gz
nextcloud-server-ab431999c316fc5fbb1344b87adad6fc47ef5860.zip
chore(npm): fix warning and build
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/theming/src')
-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;