File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -157,6 +157,6 @@ defmodule PetalComponents.Modal do
157
157
max_width_class = "pc-modal__box--#{ opts . max_width } "
158
158
custom_classes = opts . class
159
159
160
- [ max_width_class , base_classes , custom_classes ]
160
+ [ base_classes , max_width_class , custom_classes ]
161
161
end
162
162
end
Original file line number Diff line number Diff line change @@ -117,13 +117,13 @@ defmodule PetalComponents.ModalTest do
117
117
< . modal class = "h-full " > </ . modal >
118
118
""" )
119
119
120
- assert html =~ "\" pc-modal__box--md pc-modal__box h-full\" "
120
+ assert html =~ "\" hidden pc-modal__box pc-modal__box--md h-full\" "
121
121
122
122
html =
123
123
rendered_to_string ( ~H"""
124
124
< . modal > </ . modal >
125
125
""" )
126
126
127
- assert html =~ "\" pc-modal__box--md pc-modal__box \" "
127
+ assert html =~ "\" hidden pc-modal__box pc-modal__box--md \" "
128
128
end
129
129
end
You can’t perform that action at this time.
0 commit comments