I have my toolbar to the left of the screen, if I have it opened and visit any page the body has a margin left corresponding tothe width of the toolbar, that's ok, but if I collapse it and then expand it, the body gets both margin left and right.
This is a bug, I found that the code was wrong for example here:
if ($(toolbar).is('.nw') || $(toolbar).is('sw')) {
there's a missing "." right before 'sw' just as it is before 'nw'. I then noticed that that dot was missing for all 4 lines that correspond to vertical layout (opening and expanding) and for horizontal layout (opening and expanding).
I'm attaching a patch that fixes those 4 lines.
Comments
Comment #1
Anonymous (not verified) commentedHere is the same patch for Drupal 7
Comment #2
Anonymous (not verified) commentedReworked patch for Drupal 7
Comment #3
Anonymous (not verified) commentedReworked patch to work with drush make
Comment #4
open social commentedPatch works in drupal 7 dev version.
This patch should really be added to the dev version of the module.
Comment #5
traviscarden commentedFixed issue details. See explanation of Status values.
Comment #6
jaapjan commentedThis issue appears to be fixed already in the latest dev version of the admin module. Marking issue as "Fixed". Please let me know if I'm wrong.
Comment #7
jaapjan commented-