diff --git a/www/includes/easyparliament/templates/html/postcode/index.php b/www/includes/easyparliament/templates/html/postcode/index.php
index b48d81ffd2..c22632eebf 100644
--- a/www/includes/easyparliament/templates/html/postcode/index.php
+++ b/www/includes/easyparliament/templates/html/postcode/index.php
@@ -3,13 +3,13 @@
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;
}
@@ -43,7 +43,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 +54,7 @@ function member_image_box(string $person_id, string $person_url, string $person_
} ?>
-
+
- Your MP is currently unknown.
@@ -62,7 +62,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 +84,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) {