mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-14 23:47:48 +00:00
Refactor: move basic modal styles to generic parent component
The style was already being shared with a sibling component. Now we can instantiate a plain old 'modal'.
This commit is contained in:
@@ -34,7 +34,7 @@ describe("HelpModalController", () => {
|
||||
data-action="click->help-modal#close">
|
||||
</div>
|
||||
<div id="modal"
|
||||
class="reveal-modal.fade.medium.help-modal"
|
||||
class="reveal-modal.fade.medium.modal-component"
|
||||
data-help-modal-target="modal">
|
||||
Hello world
|
||||
<a id="close-link" data-action="click->help-modal#close">Close</a>
|
||||
|
||||
Reference in New Issue
Block a user