change aside width to reflect recent widget style changes
This commit is contained in:
parent
7f453949a1
commit
f1245206ce
@ -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,
|
||||
|
@ -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%' );
|
||||
}
|
||||
|
@ -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) {
|
||||
|
Reference in New Issue
Block a user