搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Menu button on left code is broken in 113.0.1

  • 4 回覆
  • 0 有這個問題
  • 48 次檢視
  • 最近回覆由 Rick W

more options

I have been using code (stored in the Chrome folder of my profile) to keep the 'open application menu' pancake button on the left end of the toolbar. After I updated to version 113.0.1 today, I see that button shifted back to the right end of the bar. I do NOT want it there. Can you fix it so the code will work again? Is there alternate code or some other means to accomplish the same end?

The code I've been using is as follows:

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

#PanelUI-button,
#customization-panel-container,
#customization-panelWrapper .panel-arrow { -moz-box-ordinal-group: 0 !important;}

/* Panel UI */
#PanelUI-button {background-position: 100% 0, calc(100% - 1px) 0, calc(100% - 2px) 0 !important;}
#PanelUI-popup {margin-right:-350px!important;}
#PanelUI-popup .panel-arrow {margin-right:340px!important;}

/* #PanelUI-quit  #PanelUI-customize  #PanelUI-help */
#PanelUI-footer #PanelUI-footer-inner {direction:rtl !important;}

I have been using code (stored in the Chrome folder of my profile) to keep the 'open application menu' pancake button on the left end of the toolbar. After I updated to version 113.0.1 today, I see that button shifted back to the right end of the bar. I do NOT want it there. Can you fix it so the code will work again? Is there alternate code or some other means to accomplish the same end? The code I've been using is as follows: <pre><nowiki>@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */ #PanelUI-button, #customization-panel-container, #customization-panelWrapper .panel-arrow { -moz-box-ordinal-group: 0 !important;} /* Panel UI */ #PanelUI-button {background-position: 100% 0, calc(100% - 1px) 0, calc(100% - 2px) 0 !important;} #PanelUI-popup {margin-right:-350px!important;} #PanelUI-popup .panel-arrow {margin-right:340px!important;} /* #PanelUI-quit #PanelUI-customize #PanelUI-help */ #PanelUI-footer #PanelUI-footer-inner {direction:rtl !important;}</nowiki></pre><br>

由 cor-el 於 修改

被選擇的解決方法

-moz-box-ordinal-group is no longer supported in 113 as things have been moved to flexbox design. You need to replace -moz-box-ordinal-group: 0 with order:-1 !important;

從原來的回覆中察看解決方案 👍 0

所有回覆 (4)

more options

See this thread on reddit.

https://www.reddit. com/r/FirefoxCSS/comments/11odffm/psa_incoming_changes_to_default_element/

more options

選擇的解決方法

-moz-box-ordinal-group is no longer supported in 113 as things have been moved to flexbox design. You need to replace -moz-box-ordinal-group: 0 with order:-1 !important;

more options

I had this problem too!

To be slightly more precise than cor-el (but thank you so much for the solution!), you need to replace what is between the brackets (in EarlPJones2's post): i.e. Replace { -moz-box-ordinal-group: 0 !important;} with this: { order:-1 !important;}

My own UserChrome CSS now has the following (with the change made as cor-el suggested, and which works!), but with the color changed as well. After editing your UserChrome CSS (or creating a brand new one), you must restart Firefox for the changes to be made.

/* Move the OPEN APPLICATION MENU, 3-bar button to the left & change its color */

#PanelUI-button {
 order:-1 !important; 
 color: blue;
 }