codefisher / toolbar_buttons

Toolbar Buttons extension for Firefox and Thunderbird
https://codefisher.org/toolbar_button/
Other
28 stars 4 forks source link

Arrow on the bottom in some buttons (on palemoon) cause a too much high toollbar #2

Open geplus opened 7 years ago

geplus commented 7 years ago

Hi, In some buttons, for example in the all-menu button, the scroll arrow is at the bottom instead on the right, causing a too much higher toolbar. This happens in the PaleMoon browser:

pmssenzanome

Can you fix that?

codefisher commented 7 years ago

I can't remember the details since it was quite some time ago, but it appears that Pale Moon in some way removed something so the type of button that I want to use is not well supported. They only have parts of the style rules needed for it or something. Again, long time since I looked at it, can't remember exactly.

Long and short of it, they should fix it not me, as it would effect other extensions as well.

troyp commented 6 years ago

This can be fixed with the following CSS:

#personal-bookmarks-menu-button {
    -moz-image-region: rect(0px 24px 24px 0px);
    -moz-box-orient: horizontal !important;
}
toolbar[iconsize="small"] #personal-bookmarks-menu-button {
    -moz-image-region: rect(0px 16px 16px 0px);
    -moz-box-orient: horizontal !important;
}

I applied it with pentadactyl using the following style:

style -name=bmarksbarbutton
\ *
\   #personal-bookmarks-menu-button {
\     -moz-image-region: rect(0px 24px 24px 0px);
\     -moz-box-orient: horizontal !important;
\ }
\ toolbar[iconsize="small"] #personal-bookmarks-menu-button {
\     -moz-image-region: rect(0px 16px 16px 0px);
\     -moz-box-orient: horizontal !important;
\ }
styleenable -name bmarksbarbutton

...but you should be able to apply it with Stylish just as well.