Browse Source

Reverts #423, sidebar changes

pull/524/head
jlukic 11 years ago
parent
commit
c85111db98
1 changed files with 1 additions and 3 deletions
  1. 4
      src/modules/sidebar.js

4
src/modules/sidebar.js

@ -202,15 +202,13 @@ $.fn.sidebar = function(parameters) {
add: {
bodyCSS: function(direction, distance) {
var
invertDirection,
style
;
if(direction !== className.bottom) {
invertDirection = direction === 'right' ? -1 : 1;
style = ''
+ '<style title="' + namespace + '">'
+ 'body.pushed {'
+ ' margin-left: ' + invertDirection * distance + 'px !important;'
+ ' margin-' + direction + ': ' + distance + 'px !important;'
+ '}'
+ '</style>'
;

Loading…
Cancel
Save