From aea8ec8c208d322a8cc4e447c75713a88af71b96 Mon Sep 17 00:00:00 2001 From: Eugene Burmakin Date: Wed, 17 Apr 2024 21:05:31 +0200 Subject: [PATCH] Add padding to the main content area and adjust the stats layout for mobile --- app/views/layouts/application.html.erb | 2 +- app/views/stats/index.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index dbd7a696..7f3d83c6 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -18,7 +18,7 @@
<%= render 'shared/navbar' %> <%= render 'shared/flash' %> -
+
<%= yield %>
diff --git a/app/views/stats/index.html.erb b/app/views/stats/index.html.erb index a03d12d5..b66625f1 100644 --- a/app/views/stats/index.html.erb +++ b/app/views/stats/index.html.erb @@ -1,5 +1,5 @@
-
+
<%= number_with_delimiter(current_user.total_km) %> km