This website requires JavaScript.
Explore
Help
Sign In
OpenNeo
/
impress
Watch
1
Star
0
Fork
You've already forked impress
1
Code
Pull requests
Activity
6dc5aa28a4
impress
/
app
/
assets
/
stylesheets
/
pet_states
/
edit.sass
6 lines
82 B
Sass
Raw
Normal View
History
Unescape
Escape
Use radio buttons for poses in Rainbow Pool form, instead of dropdown Just a bit easier to find what you want! especially with the grid layout
2024-09-27 22:34:52 -07:00
outfit-viewer
margin
:
0
auto
Migrate pet state edit form to .support-form class Most notable change here is extracting the pose option bubbles into a `data-type="radio-grid"`, and pulling that into the `.support-form` CSS. My rationale is that, unlike most fields, this field benefits from being 100%-width, and I don't want to specify that as an override if I can avoid it, because that's fragile-y. Instead, I extract this into a generic type of field that `.support-form` can use (it feels pretty reusable anyway!), and require the caller to specify how many columns they want as `--num-columns`.
2024-11-30 10:49:47 -08:00
.
fields
li
[
data-type
=
radio-grid
]
--num-columns
:
3
Copy permalink