diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-07-02 00:11:23 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-07-02 00:11:23 +0200 |
| commit | bf68c8fed6776cd40d859e6e968a251b4b934c8b (patch) | |
| tree | 24e417ed846d5bb2d0311844220bcf4bf521220b /db | |
| parent | 95955abaa339098755a214cfcadf87c90211fe64 (diff) | |
Fix button_to styling for Rails 8.1, add destructive variant
- Extend all selectors to cover button[type="submit"] alongside
input[type="submit"] — Rails 8.1 generates <button> not <input>
- Add appearance: none / -webkit-appearance: none to kill browser
native button chrome
- Default hover now matches plain link hover (color: #ff9600)
- Add form.button_to.destructive variant: #cc0000 at rest,
white-on-red pill on hover
- Usage: form: { class: 'button_to destructive' } in button_to calls
Diffstat (limited to 'db')
0 files changed, 0 insertions, 0 deletions
