Add padding to the main content area and adjust the stats layout for mobile

This commit is contained in:
Eugene Burmakin 2024-04-17 21:05:31 +02:00
parent b4308108eb
commit aea8ec8c20
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@
<div class='container mx-auto'>
<%= render 'shared/navbar' %>
<%= render 'shared/flash' %>
<div class="flex flex-row gap-5 w-full">
<div class="flex flex-row gap-5 w-full px-5">
<%= yield %>
</div>
</div>

View file

@ -1,5 +1,5 @@
<div class="w-full">
<div class="stats shadow w-full bg-base-200">
<div class="stats stats-vertical lg:stats-horizontal shadow w-full bg-base-200">
<div class="stat text-center">
<div class="stat-value text-primary">
<%= number_with_delimiter(current_user.total_km) %> km