Skip to content
Discussion options

You must be logged in to vote

Hi @Alinaedr, I'm not sure how best to do this with CSS. Maybe someone else will chime in with a CSS solution!
If it were me, I would modify the plugin file so that the buttons come before the stimulus in the HTML string that's added to the page. This is lines 80-101 in the current version of the html-button-response file. You could move the lines that add the stimulus to the HTML string (lines 80-81) so that they come after the section that adds the buttons to the HTML string (lines 83-101).
The only other thing is that the html variable is created on line that adds the stimulus (line 81), and then other bits of HTML are added onto that same variable. So you would need to also change thi…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Alinaedr
Comment options

Answer selected by Alinaedr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants