1
0
Fork 0
forked from OpenNeo/impress
impress/app
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
..
assets Left-align the alt styles on the page, to flow better with the headers 2024-01-24 08:02:19 -08:00
controllers Add WIP styles tab to the pose picker 2024-01-29 04:26:40 -08:00
helpers Add support_staff flag to user record; they can use Support tools 2024-01-29 04:21:19 -08:00
javascript Move Expressions/Styles tab to the top/bottom depending on placement 2024-01-29 09:09:09 -08:00
mailers donation mailer 2014-09-10 14:32:54 -05:00
models Add WIP styles tab to the pose picker 2024-01-29 04:26:40 -08:00
services Extend OWLS caching from 15 minutes to 1 day 2024-01-15 06:19:48 -08:00
views Add support_staff flag to user record; they can use Support tools 2024-01-29 04:21:19 -08:00