搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Firefox 57 tabs on bottom , there are solution, don't work correctly with private browsing. Tabs are moved above content-deck. Is there way to correct it?

  • 8 个回答
  • 2 人有此问题
  • 9 次查看
  • 最后回复者为 georgy4

more options

Base solution https://support.mozilla.org/en-US/questions/1189624#answer-1039600 working well with base browsing mode. But there are problem with private browsing. Tabs are moved above content-deck. Is there way to correct it?

Base solution https://support.mozilla.org/en-US/questions/1189624#answer-1039600 working well with base browsing mode. But there are problem with private browsing. Tabs are moved above content-deck. Is there way to correct it?

被采纳的解决方案

With #tabbrowser-tabs { width: 96%; } working well.

  #TabsToolbar:not([inFullscreen="true"]) {
 position: fixed;
 bottom: 0;
 width: 100%;

}

  #tabbrowser-tabs { width: 96%; } 
  #main-window:not([inFullscreen="true"]) 
  #content-deck { margin-bottom: 3.0em; }

/* For Windows */

  #TabsToolbar:not([inFullscreen="true"]) > .private-browsing-indicator {
 position: absolute !important;
 right: 0;
 bottom: 1px;

} Thank to all of you very much !

定位到答案原位置 👍 1

所有回复 (8)

more options

You can try the version I posted in this thread if that works better.

more options

cor-el said

You can try the version I posted in this thread if that works better.

That works, assuming I display the Menu Bar or Title Bar, but I needed to add this so the tabs don't get bumped up by the mask icon in the private window (on Windows 7):

.private-browsing-indicator {
  position: absolute !important;
  right: 0;
  bottom: 1px;
}
more options

On Linux this mask icon is always at the left end of the tab bar.

If that code is supposed to work when on Windows this icon is moved to the tab bar, wouldn't be better to make the code more specific and add #TabsToolbar or is this icon positioned elsewhere in the DOM?

How does the code work on Windows in Full Screen mode? Does that allow auto-hide to work properly?

more options

I think the absolute positioning works because the tab bar is back on top and scrolls up in full screen. However, no harm making the selector more specific:

#TabsToolbar:not([inFullscreen="true"]) {
  position: fixed;
  bottom: 0;
  width: 100%;
}
#main-window:not([inFullscreen="true"]) #browser-bottombox {
  margin-bottom: 2em;
}
/* For Windows */
#TabsToolbar:not([inFullscreen="true"]) > .private-browsing-indicator {
  position: absolute !important;
  right: 0;
  bottom: 1px;
}
more options

jscher2000

Thank you very much. This work pretty well. Now the tabs placed at the bottom in private browsing mode too. But there are side effect. The tabs become very narrow compared to base one. You can see it at the shot. Do you have ideas how to avoid this ?

more options

选择的解决方案

With #tabbrowser-tabs { width: 96%; } working well.

  #TabsToolbar:not([inFullscreen="true"]) {
 position: fixed;
 bottom: 0;
 width: 100%;

}

  #tabbrowser-tabs { width: 96%; } 
  #main-window:not([inFullscreen="true"]) 
  #content-deck { margin-bottom: 3.0em; }

/* For Windows */

  #TabsToolbar:not([inFullscreen="true"]) > .private-browsing-indicator {
 position: absolute !important;
 right: 0;
 bottom: 1px;

} Thank to all of you very much !

由georgy4于修改

more options

I need to use 93% to make it work with opening that many tabs that the "List all tabs" button appears.

#tabbrowser-tabs { width: 93%; }

由cor-el于修改

more options

Thank you cor-el.

Usually I don't open that much tabs (didn't know about this button :)), but yes this work good.