diff options
Diffstat (limited to 'app/views/layouts')
-rw-r--r-- | app/views/layouts/application.html.erb | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index fc627a2..513fcdd 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -21,21 +21,21 @@ <%= render "navbar" %> <% end %> <div class="flex flex-col col-span-12 sm:col-span-8"> - <% if user_signed_in? %> - <div class="game-container-box mb-2 overflow-auto text-sm" style="height: 10rem;" id="result_output"> - </div> - <% end %> - <div class="game-container-box" style="height: 25rem;"> + <div class="game-container-box mb-2 overflow-y-auto" style="height: 20rem;"> <%= render "flash_messages" %> <%= yield %> </div> + <% if user_signed_in? %> + <div class="game-container-box overflow-auto text-sm p-2" style="height: 15rem;" id="result_output" + data-turbolinks-permanent> + </div> + <% end %> </div> <% if user_signed_in? %> <div class="flex flex-col col-span-12 sm:col-span-4"> - <div class="game-container-box mb-2" style="height: 15rem;"> - <div id="result_controls"> - <%= render "timer" %> - </div> + <div class="game-container-box mb-2 overflow-y-auto" style="height: 15rem;" id="activity_controls" + data-turbolinks-permanent> + <%= render "timer" %> </div> <div id="chat" class="game-container-box col-span-12 sm:col-span-4" style="height: 20rem;" data-turbolinks-permanent> |