AutoHideとの連携はタブバーを左に表示している時だけにした

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@1271 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2007-10-21 17:51:41 +00:00
parent 91caf46c39
commit 45a512fec2
2 changed files with 3 additions and 1 deletions

View File

@ -128,11 +128,13 @@ TreeStyleTabService.overrideExtensions = function() {
appcontent.style.marginRight = '-'+autoHIDE.__treestyletab__tabBarWidth+'px';
appcontent.__treestyletab__resized = true;
}
/* doesn't work this hack for rightside tab bar
else if (treeStyleTabPos == 'right' &&
!appcontent.__treestyletab__resized) {
appcontent.style.marginLeft = '-'+autoHIDE.__treestyletab__tabBarWidth+'px';
appcontent.__treestyletab__resized = true;
}
*/
window.setTimeout('autoHIDE.MoveC(true);', 100);
return;
}

View File

@ -30,7 +30,7 @@ tabbrowser[treestyletab-vertical="true"] .tab-drop-indicator-bar
display: none !important;
}
/* to modify browser's margin-left/margin-right dynamically */
/* to modify browser's margin dynamically */
#appcontent {
position: relative;
margin: 0;