diff --git a/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html b/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html
index efc45e1af8..6cc70c4225 100644
--- a/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html
+++ b/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html
@@ -35,18 +35,6 @@
- {% set CELL_BREAK = {1: 1, 2: 1, 3: 2, 4: 2, 5: 3, 6: 3, 7: 4, 8: 4, 9: 5, 10: 5, 11: 4, 12: 4, 13: 5, 14: 5, 16: 4} %}
- {% set CONTACT_CNT = 0 %}
- {% set CNT = 0 %}
- {% set CONTACT_CNT = CONTACT_CNT + 1 %}
- {% set CONTACT_CNT = CONTACT_CNT + 1 %}
- {% set CONTACT_CNT = CONTACT_CNT + 1 %}
-
-
- {% set CONTACT_CNT = CONTACT_CNT + 1 %}
-
- {% set DIV_CNT = CELL_BREAK[CONTACT_CNT] %}{% set DIV_CNT = 4 %}
-
{L_CONTACT_USER}{L_COLON}
diff --git a/phpBB/styles/prosilver/template/viewtopic_body.html b/phpBB/styles/prosilver/template/viewtopic_body.html
index b528fc18a5..d9e800d1e6 100644
--- a/phpBB/styles/prosilver/template/viewtopic_body.html
+++ b/phpBB/styles/prosilver/template/viewtopic_body.html
@@ -144,17 +144,6 @@
- {% set CELL_BREAK = {1: 1, 2: 1, 3: 2, 4: 2, 5: 3, 6: 3, 7: 4, 8: 4, 9: 5, 10: 5, 11: 4, 12: 4, 13: 5, 14: 5, 16: 4} %}
- {% set CONTACT_CNT = 0 %}
- {% set CNT = 0 %}
- {% set CONTACT_CNT = CONTACT_CNT + 1 %}
- {% set CONTACT_CNT = CONTACT_CNT + 1 %}
- {% set CONTACT_CNT = CONTACT_CNT + 1 %}
-
- {% set CONTACT_CNT = CONTACT_CNT + 1 %}
-
- {% set DIV_CNT = CELL_BREAK[CONTACT_CNT] %}{% set DIV_CNT = 4 %}
-
{L_CONTACT_USER}{L_COLON}
diff --git a/phpBB/styles/prosilver/theme/buttons.css b/phpBB/styles/prosilver/theme/buttons.css
index 7f271ee648..b17903c958 100644
--- a/phpBB/styles/prosilver/theme/buttons.css
+++ b/phpBB/styles/prosilver/theme/buttons.css
@@ -254,12 +254,16 @@ ul.profile-icons.responsive a.responsive-menu-link:before {
padding: 8px;
}
-.contact-icons div:last-child a {
- border-bottom: none;
+.contact-icons a:nth-child(4) {
+ border-right: none;
}
-.contact-icons .last-cell {
- border-right: none;
+.contact-icons a:nth-child(5) {
+ clear: left;
+}
+
+.contact-icons div:last-child a {
+ border-bottom: none;
}