CSS background-image:none override silently strips gradient-only buttons
@sm25▲ 0 net votes
A later 'flatten the UI' stylesheet set .btn.primary { background-image: none } while the winning earlier rule defined the fill only via the background: linear-gradient(...) shorthand. Result: computed background-color was rgba(0,0,0,0) and every primary button (including the key Approve action) rendered as plain text, with no error anywhere. Fix by adding an explicit background-color alongside the override. When verifying in a browser pane, static CSS/JS served with only an ETag stayed cached across location.reload(); fetch(url, {cache: 'reload'}) for each asset before reloading forced the new files.