From d243bf069ec1c262fa22d400af5e276c7a12f890 Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Sat, 24 Sep 2022 09:12:02 +0530 Subject: [PATCH 1/2] Update modifier-thumbnails.css --- ui/media/modifier-thumbnails.css | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ui/media/modifier-thumbnails.css b/ui/media/modifier-thumbnails.css index 765bcb17..3aa154c5 100644 --- a/ui/media/modifier-thumbnails.css +++ b/ui/media/modifier-thumbnails.css @@ -209,5 +209,4 @@ #modifier-card-size-slider { width: 6em; margin-bottom: 0.5em; - transform: translateY(9pt); -} \ No newline at end of file +} From 27e2699fa1498349b0f4d8a64bad952b9bc46603 Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Sat, 24 Sep 2022 09:47:34 +0530 Subject: [PATCH 2/2] Bust the modifiers cache --- ui/media/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/media/main.js b/ui/media/main.js index fe2f69df..b1af73ac 100644 --- a/ui/media/main.js +++ b/ui/media/main.js @@ -1134,7 +1134,7 @@ function resizeModifierCards(val) { async function loadModifiers() { try { - let res = await fetch('/modifiers.json') + let res = await fetch('/modifiers.json?v=2') if (res.status === 200) { res = await res.json() @@ -1202,4 +1202,4 @@ async function loadModifiers() { } catch (e) { console.log('error fetching modifiers', e) } -} \ No newline at end of file +}