1
0
Fork 0
forked from OpenNeo/impress
impress/app/javascript/wardrobe-2020
Emi Matchu 8f934e83b8 Move Expressions/Styles tab to the top/bottom depending on placement
On small screens, the PosePicker opens down, and we put the tabs on the
top, to be near the button.

On large screens, the PosePicker opens up, and we put the tabs on the
bottom, to be near the button.

Previously, we always set `placement="bottom-end"`, which on small
screens behaved as written, and on large screens there would not be
space to open downward so it would open upward instead.

Now, we set the placement explicitly based on a media breakpoint, and
we change the `flexDirection` of the tabs container on the same media
breakpoint.
2024-01-29 09:09:09 -08:00
..
components Optionally use local instance of impress-2020 during development 2024-01-28 07:00:29 -08:00
images Start adding Styles UI to pose picker 2024-01-29 04:26:40 -08:00
ItemPage Load item compatibility data from the Rails app, not impress-2020 2023-11-11 08:15:10 -08:00
loaders Add WIP styles tab to the pose picker 2024-01-29 04:26:40 -08:00
WardrobePage Move Expressions/Styles tab to the top/bottom depending on placement 2024-01-29 09:09:09 -08:00
apolloClient.js Optionally use local instance of impress-2020 during development 2024-01-28 07:00:29 -08:00
AppProvider.js Remove unused initialCacheState code from wardrobe-2020 2023-11-03 18:16:57 -07:00
impress-2020-config.js Add support_staff flag to user record; they can use Support tools 2024-01-29 04:21:19 -08:00
index.js Remove the item page drawer, just link to the item page instead 2023-11-03 16:56:51 -07:00
ItemPageOutfitPreview.js Oops, fix species name in zones tooltip 2023-11-11 11:57:43 -08:00
util.js Optionally use local instance of impress-2020 during development 2024-01-28 07:00:29 -08:00