diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/activities/_results.html.erb | 2 | ||||
-rw-r--r-- | app/views/activities/show.html.erb | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/app/views/activities/_results.html.erb b/app/views/activities/_results.html.erb index 0fef8fb..5fde590 100644 --- a/app/views/activities/_results.html.erb +++ b/app/views/activities/_results.html.erb @@ -11,6 +11,8 @@ <p>You constructed <%= result[:hearth_amenity].name %>.</p> <% when "activity" %> <p>You realized how to <%= result[:activity].name %>!</p> + <% when "message" %> + <p><%= result[:body] %></p> <% when "error" %> <p><%= result[:message] %></p> <% end %> diff --git a/app/views/activities/show.html.erb b/app/views/activities/show.html.erb index 84c19a4..c9c6d25 100644 --- a/app/views/activities/show.html.erb +++ b/app/views/activities/show.html.erb @@ -2,7 +2,7 @@ <p><%= @activity.description %></p> <div class="min-w-full my-2 px-1 overflow-auto text-sm border-2 border-gray-800 rounded" - style="height: 75px" id="result_output"> + style="height: 30rem;" id="result_output"> </div> <div id="result_controls"> |