From 823d21e54993b75f4d34229442f2e5ce945edcaa Mon Sep 17 00:00:00 2001 From: Christian Sutter Date: Fri, 1 Dec 2023 16:48:29 +0000 Subject: [PATCH] Assorted visual & content tweaks --- app/assets/stylesheets/search.scss | 6 ++---- app/views/searches/_result.html.erb | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/app/assets/stylesheets/search.scss b/app/assets/stylesheets/search.scss index 3e30863..d5484fc 100644 --- a/app/assets/stylesheets/search.scss +++ b/app/assets/stylesheets/search.scss @@ -57,11 +57,10 @@ .search-results__parts { margin: govuk-spacing(2) 0 0 0; - padding: govuk-spacing(1); + padding: govuk-spacing(2); border-radius: govuk-spacing(1); - background-color: govuk-colour("blue"); - color: govuk-colour("white"); + background-color: govuk-colour("light-grey"); } .search-results__metadata { @@ -81,7 +80,6 @@ .search-results__metadata-item--content-type { font-weight: bold; - color: govuk-colour("black"); } .search-results__ranking { diff --git a/app/views/searches/_result.html.erb b/app/views/searches/_result.html.erb index f609abe..c028346 100644 --- a/app/views/searches/_result.html.erb +++ b/app/views/searches/_result.html.erb @@ -20,7 +20,7 @@ <%= result.document_type %> - Updated <%= result.public_timestamp.strftime("%e %b %Y") %> (<%= time_ago_in_words result.public_timestamp %> ago) + Public timestamp: <%= result.public_timestamp.strftime("%e %b %Y") %> (<%= time_ago_in_words result.public_timestamp %> ago) <% end %>