change aside width to reflect recent widget style changes

This commit is contained in:
Mario Vavti 2016-02-02 12:40:40 +01:00
parent 7f453949a1
commit f1245206ce
3 changed files with 6 additions and 3 deletions

View File

@ -640,7 +640,10 @@ function collapseHeight() {
var orgHeight = parseInt($(this).css('height'));
if(orgHeight > divmore_height) {
if(! $(this).hasClass('divmore')) {
if($(window).scrollTop() + ($(window).height() - divmore_height) < $(this).offset().top) {
var trigger = $(window).scrollTop() + ($(window).height() - divmore_height) < $(this).offset().top ? true : false;
if(trigger) {
$(this).readmore({
speed: 0,
heightMargin: 50,

View File

@ -7,7 +7,7 @@ $(document).ready(function() {
if( $('#css3-calc').width() == 10) {
$(window).resize(function() {
if($(window).width() < 767) {
$('main').css('width', $(window).width() + 285 );
$('main').css('width', $(window).width() + 287 );
} else {
$('main').css('width', '100%' );
}

View File

@ -154,7 +154,7 @@ if(file_exists('view/theme/redbasic/css/style.css')) {
$x = file_get_contents('view/theme/redbasic/css/style.css');
$aside_width = 285;
$aside_width = 287;
// left aside and right aside are 285px + converse width
if($align_left) {