impress/src/app
Matchu 045fb95d69 fix spacing bugs with item badges
In a previous change, I moved the margin for item badges onto an ItemBadge element… but I didn't think through how that would break the spacing for the loading state of ItemPage. Now, the loading skeleton items _contained_ the badge margin, and so the spacing between badges was shiny skeleton-y.

Here, I replace ZoneBadgesList with a function that just returns the elements, and go back to using Chakra's Wrap component. That will apply the margin to direct children, and the zone badges are direct children now.

One option I'm thinking of in hindsight is an idea I had earlier: Chakra hacks the margin onto _React_ children, but could we use CSS direct child selector instead? A bit trickier to resolve the margin size to the theme's value, but plenty doable… something to consider!
2020-11-03 20:11:37 -08:00
..
cached-data Build cached zones, stop querying on server 2020-08-19 17:50:05 -07:00
components fix spacing bugs with item badges 2020-11-03 20:11:37 -08:00
WardrobePage fix spacing bugs with item badges 2020-11-03 20:11:37 -08:00
apolloClient.js smarter cache lookups for "do we own/want this?" 2020-09-12 22:39:38 -07:00
App.js scroll to top on navigation 2020-09-15 05:35:01 -07:00
GlobalFooter.js update footer design, add links 2020-09-20 20:10:26 -07:00
GlobalHeader.js refactor menu/nav a bit 2020-11-03 19:36:48 -08:00
HomePage.js make the feedback form more visible 2020-10-22 16:01:54 -07:00
ItemPage.js fix spacing bugs with item badges 2020-11-03 20:11:37 -08:00
ItemPageDrawer.js embed item page in wardrobe page drawer 2020-09-12 19:29:20 -07:00
ModelingPage.js fix spacing bugs with item badges 2020-11-03 20:11:37 -08:00
PageLayout.js rename GlobalNavBar to GlobalHeader 2020-09-21 03:08:24 -07:00
UserItemsPage.js fix spacing bugs with item badges 2020-11-03 20:11:37 -08:00
util.js add individual lists to user items page 2020-10-27 23:09:42 -07:00