diff --git a/styles/prosilver/template/event/overall_header_head_append.html b/styles/prosilver/template/event/overall_header_head_append.html
index 37158abc..d7d5b706 100644
--- a/styles/prosilver/template/event/overall_header_head_append.html
+++ b/styles/prosilver/template/event/overall_header_head_append.html
@@ -1,4 +1,4 @@
-
+
diff --git a/styles/prosilver/template/portal/portal.js b/styles/prosilver/template/portal/portal.js
index 1cb65b26..9152d250 100644
--- a/styles/prosilver/template/portal/portal.js
+++ b/styles/prosilver/template/portal/portal.js
@@ -10,6 +10,8 @@
"use strict";
+var portal_right_width;
+
/**
* Correctly align the right column underneath the left column.
* This will make sure that the right column doesn't start before the end of
@@ -18,18 +20,21 @@
phpbb.b3p_fix_right_column_margin = function() {
var width = $(window).width();
- if (width <= 700) {
+ if (width <= 880) {
// Get height of left and center column
var center_height = $('#portal-center').outerHeight();
var left_height = $('#portal-left').outerHeight();
$('#portal-right').css('margin-top', -(center_height - left_height) + 'px');
+ $('#portal-right').width($('#portal-left').width());
} else {
$('#portal-right').css('margin-top', '0px');
+ $('#portal-right').width(portal_right_width);
}
};
$(document).ready(function() {
+ portal_right_width = $('#portal-right').width();
phpbb.b3p_fix_right_column_margin();
$(window).resize(function() {
phpbb.b3p_fix_right_column_margin();
diff --git a/styles/prosilver/theme/responsive.css b/styles/prosilver/theme/responsive.css
index 198c316d..8baaa979 100644
--- a/styles/prosilver/theme/responsive.css
+++ b/styles/prosilver/theme/responsive.css
@@ -16,21 +16,17 @@ dd.responsive-portal-announcements { display: none !important; }
dt#a { width: 125% !important; }
.responsive-portal-announcements dt { width: 125% !important; }
+dd.responsive-portal-news { display: none !important; }
-@media only screen and (max-width: 950px), only screen and (max-device-width: 950px)
-{
- dd.responsive-portal-news { display: none !important; }
-
- .responsive-portal-news dd.posts, .responsive-portal-news dd.views {
- display: none !important;
- }
-
- .responsive-portal-news dt { width: 125% !important; }
- dt#n { width: 125% !important; }
- .topiclist .topics, .topiclist .posts { display: none !important; }
- #portal-forumlist dl.icon dt { width: 125% !important; }
+.responsive-portal-news dd.posts, .responsive-portal-news dd.views {
+ display: none !important;
}
+.responsive-portal-news dt { width: 130% !important; }
+dt#n { width: 125% !important; }
+.topiclist .topics, .topiclist .posts { display: none !important; }
+#portal-forumlist dl.icon dt { width: 125% !important; }
+
@media only screen and (max-width: 700px), only screen and (max-device-width: 700px)
{
.responsive-portal-news dd.lastpost, .responsive-portal-announcements dd.lastpost { display: none !important; }