Closed Acid-Crash closed 4 years ago
Unfortunately there is no way to fully detect the currently used locale on every required level (link) to add code to the file. You have to override the code manually. For Russian locale you need this for example:
addon-page-options panel-list {
max-width: 400px !important;
}
addon-page-options panel-list panel-item {
min-width: 380px !important;
width: 380px !important;
}
link:-moz-any([href$="panel-item.css"],[href$="panel-list.css"]) ~ button label[accesskey] {
min-width: 390px !important;
width: 390px !important;
}
Understood. I'll try later this evening. THX
Yup. Works. 440px were sufficient.
Found a nice workaround. No need to manually adjust the width anymore. I will add 440px for Russian locale on next update.
BTW, right now I use the following technique for identify Locale switches. But within UserJS to define different labels, not sure if this can be adapted for userContent
This worked for two of the three rules ( html[lang...] ... code), but the last one required a different approach. Using variables is the solution in this case.
Describe the issue There is an issue with about:addons options dropDown menu. On localised Firefox some entries (Reset All Add-ons to Update Automatically) lack width
What should have happened instead? Width should be sufficient for the each element
Steps to reproduce the issue? Switch to non english locale (screenshot demonstrares RU locale) Enable _addonlists_show_buttons_instead_of_menu_popupfx72 go to about:addons
SCREENSHOTS with/without this projects files (drag & drop images into this post)![изображение](https://user-images.githubusercontent.com/32600318/72007885-505e6e00-325b-11ea-821a-0be01b6f3a4b.png)
System information