From 9f817ee379b3adc4d51c3b0fff2700aebfc17885 Mon Sep 17 00:00:00 2001 From: RyanTG Date: Wed, 15 Jan 2025 14:57:28 -0800 Subject: [PATCH] Add hr between recent_activity items --- app/assets/stylesheets/application.scss.erb | 4 ++++ app/views/locations/_render_recent_activity.html.haml | 3 ++- app/views/maps/_nearby_activity.html.haml | 1 + app/views/pages/activity.html.haml | 2 +- 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/application.scss.erb b/app/assets/stylesheets/application.scss.erb index 3c46ae8e..ac3f02e2 100644 --- a/app/assets/stylesheets/application.scss.erb +++ b/app/assets/stylesheets/application.scss.erb @@ -1046,6 +1046,10 @@ form#address_search_form input.lookup_search_input { .map_input .limit #by_type_id { width: 143px; } +.activity_hr { + border-bottom: 1px solid; + margin: 5px 20px; +} .hr { display: flex; diff --git a/app/views/locations/_render_recent_activity.html.haml b/app/views/locations/_render_recent_activity.html.haml index 03cfe7c2..60e10542 100644 --- a/app/views/locations/_render_recent_activity.html.haml +++ b/app/views/locations/_render_recent_activity.html.haml @@ -39,4 +39,5 @@ Line-up confirmed - if (!recent_activity.user_name.blank?) by - %span.bold #{recent_activity.user_name} \ No newline at end of file + %span.bold #{recent_activity.user_name} + .activity_hr \ No newline at end of file diff --git a/app/views/maps/_nearby_activity.html.haml b/app/views/maps/_nearby_activity.html.haml index cc2e186d..9f89ba8e 100644 --- a/app/views/maps/_nearby_activity.html.haml +++ b/app/views/maps/_nearby_activity.html.haml @@ -65,3 +65,4 @@ - if (!recent_activity.user_name.blank?) by %span.bold #{recent_activity.user_name} + .activity_hr \ No newline at end of file diff --git a/app/views/pages/activity.html.haml b/app/views/pages/activity.html.haml index 30811445..89fdedd0 100644 --- a/app/views/pages/activity.html.haml +++ b/app/views/pages/activity.html.haml @@ -65,4 +65,4 @@ - if (!recent_activity.user_name.blank?) by %span.bold #{recent_activity.user_name} - + .activity_hr