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_
= gettext('Your representatives') ?>
- -
+
-
MP (Member of Parliament) is %s, %s'), '/mp/?p=' . $mp['person_id'], $mp['name'], gettext($mp['constituency']));
} else {
@@ -54,7 +63,7 @@ function member_image_box(string $person_id, string $person_url, string $person_
} ?>
-
+
- Your MP is currently unknown.
@@ -62,7 +71,7 @@ function member_image_box(string $person_id, string $person_url, string $person_
';
+ echo '- ';
if ($house == HOUSE_TYPE_SCOTLAND) {
$url = $urlp . $mcon['person_id'];
$cons = $mcon['constituency'];
@@ -84,7 +93,7 @@ function member_image_box(string $person_id, string $person_url, string $person_
}
echo '';
member_image_box($mcon["person_id"], $url, $name);
- echo '
';
+ echo '';
}
if (isset($mreg)) {
if ($current) {