1
0
Fork 0
forked from OpenNeo/impress
impress/app/assets/stylesheets
Emi Matchu 4c44f8d6a4 Fix species face picker going inert again after Turbo frame load
Here, I remember the trick I learned when building the outfit viewer:
web components are great for making sure stuff stays initialized well
in a Turbo environment!

The problem was, after submitting the form and getting a new preview
loaded via Turbo, the part where we remove `inert` would get undone.
Additionally, this script only loads *once* per session, so if you
Turbo-nav to a different item then that part of the page never ran.

Instead, we use web components to remove the attributes on mount, then
again if they're ever reapplied by Idiomorph.
2024-09-03 17:07:53 -07:00
..
alt_styles Left-align the alt styles on the page, to flow better with the headers 2024-01-24 08:02:19 -08:00
application Improve the loading indicator for the new item page previews 2024-07-07 21:32:41 -07:00
auth_users Update some stylesheets to use new page_stylesheet_link_tag helper 2024-05-14 16:10:09 -07:00
closet_hangers Replace old stickUp dependency with position: sticky 2024-02-20 18:33:23 -08:00
closet_lists Add trade warning to closet list form 2024-04-16 16:53:30 -07:00
contributions Upgrade to latest Sass and Sprockets 2023-10-23 19:05:09 -07:00
devise/sessions Update some stylesheets to use new page_stylesheet_link_tag helper 2024-05-14 16:10:09 -07:00
fundraising Update some stylesheets to use new page_stylesheet_link_tag helper 2024-05-14 16:10:09 -07:00
item_trades Don't overflow long usernames in the trades table 2024-01-21 06:52:51 -08:00
items Fix species face picker going inert again after Turbo frame load 2024-09-03 17:07:53 -07:00
neopets_page_import_tasks Upgrade to latest Sass and Sprockets 2023-10-23 19:05:09 -07:00
outfits Tweak the NeoPass announcement box's orange down 2024-04-27 14:25:58 -07:00
partials Add NC prices to item pages 2024-06-18 13:25:29 -07:00
pets Upgrade to latest Sass and Sprockets 2023-10-23 19:05:09 -07:00
swf_assets Fix styling for embed page for image-only SWF assets 2024-07-06 12:52:00 -07:00
users Upgrade to latest Sass and Sprockets 2023-10-23 19:05:09 -07:00
_items.sass Add bare-bones Item Getting Guide page 2024-05-06 20:37:59 -07:00
_layout.sass Remove CSS reset that removes focus outline from all elements by default 2024-05-27 15:49:12 -07:00
application.css.sass Remove unused swf_assets/links stylesheet 2024-07-03 19:17:08 -07:00
fonts.css.sass Upgrade to latest Sass and Sprockets 2023-10-23 19:05:09 -07:00