From b93dcc43ad22525354eb89e9e34c601e8a0924e3 Mon Sep 17 00:00:00 2001 From: Sam Potts Date: Mon, 19 Apr 2021 21:16:30 +1000 Subject: [PATCH] fix: minor syntax tweak --- src/js/utils/style.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/utils/style.js b/src/js/utils/style.js index 7a950f3b..1032ed2a 100644 --- a/src/js/utils/style.js +++ b/src/js/utils/style.js @@ -87,7 +87,7 @@ export function setAspectRatio(input) { } const [x, y] = ratio; - const useNative = window.CSS ? window.CSS.supports(`aspect-ratio: ${x} / ${y}`) : false; + const useNative = window.CSS ? window.CSS.supports(`aspect-ratio: ${x}/${y}`) : false; const padding = (100 / x) * y; if (useNative) {