From e6a94eaf80778f197c248591c9745770383ba1d1 Mon Sep 17 00:00:00 2001 From: Matchu Date: Tue, 30 Nov 2021 15:01:05 -0800 Subject: [PATCH] Move a comment to satisfy VS Code emmet extension My cute keybind to quickly wrap stuff in wasn't working in this file, and I figured out from deleting stuff and narrowing down that it was this comment. I guess Emmet's JSX parser doesn't like a comment being there! I moved it up a bit instead. --- src/app/ItemPage.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/ItemPage.js b/src/app/ItemPage.js index 1b022b5e..210b102a 100644 --- a/src/app/ItemPage.js +++ b/src/app/ItemPage.js @@ -819,10 +819,10 @@ function ItemPageOutfitPreview({ itemId }) { "speciesColorPicker zones" `, }} + // HACK: Really I wanted 400px to match the natural height of the + // preview in md, but in Chromium that creates a scrollbar and + // 401px doesn't, not sure exactly why? templateRows={{ - // HACK: Really I wanted 400px to match the natural height of the - // preview in md, but in Chromium that creates a scrollbar and - // 401px doesn't, not sure exactly why? base: "auto auto 200px auto", md: "401px auto", }}