From f27dce4e03671ca9d786f70e7ddba884e779c92f Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Fri, 5 Jul 2024 18:49:36 +0100 Subject: [PATCH] Add missing dots to rep list page. --- .../templates/html/postcode/index.php | 23 +++++++++++++------ 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/www/includes/easyparliament/templates/html/postcode/index.php b/www/includes/easyparliament/templates/html/postcode/index.php index b48d81ffd2..30ddb8398e 100644 --- a/www/includes/easyparliament/templates/html/postcode/index.php +++ b/www/includes/easyparliament/templates/html/postcode/index.php @@ -3,15 +3,24 @@ display: flex; flex-direction: row-reverse; justify-content: flex-end; + align-items: center; } -.postcode-rep-list__sub-item { - align-items: baseline; +.postcode-rep-list__item { + margin-bottom: 0.5em; } .postcode-rep-list__link { flex-shrink: 0; - margin-bottom: 0.5em; margin-right: 0.5em; } +.postcode-rep-list__item:before { + content: ""; + position: absolute; + transform: translateX(-1em) translateY(0.6em); + border-radius: 50%; + width: 7px; + height: 7px; + background: #000; +}
@@ -43,7 +52,7 @@ function member_image_box(string $person_id, string $person_url, string $person_