Skip to content

Commit

Permalink
update formatting in changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
jodeleeuw committed Oct 18, 2023
1 parent d7f3040 commit 9cabb61
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .changeset/button-layouts.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
"jspsych": patch
---

Button plugins now support either `display: grid` or `display: flex` on the container element that hold the buttons. If the layout is `grid`, the number of rows and/or columns can be specified.

The `margin_horizontal` and `margin_vertical` parameters have been removed from the button plugins. If you need control over the button CSS, you can add inline style to the button element using the `button_html` parameter.
Button plugins now support either `display: grid` or `display: flex` on the container element that hold the buttons. If the layout is `grid`, the number of rows and/or columns can be specified. The `margin_horizontal` and `margin_vertical` parameters have been removed from the button plugins. If you need control over the button CSS, you can add inline style to the button element using the `button_html` parameter.

jspsych.css has new layout classes to support this feature.

1 comment on commit 9cabb61

@bjoluc
Copy link
Member

@bjoluc bjoluc commented on 9cabb61 Jun 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jodeleeuw It looks like this changeset should reference all button-response plugins in the header?

Please sign in to comment.