summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-07-02 00:11:23 +0200
committererdgeist <erdgeist@erdgeist.org>2026-07-02 00:11:23 +0200
commitbf68c8fed6776cd40d859e6e968a251b4b934c8b (patch)
tree24e417ed846d5bb2d0311844220bcf4bf521220b /db
parent95955abaa339098755a214cfcadf87c90211fe64 (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