Aris-t2 / CustomJSforFx

custom scripts
GNU General Public License v3.0
238 stars 22 forks source link

addonbar width and height auto expand with showiconbadge,is that feature? #15

Closed GoogleBeEvil closed 5 years ago

GoogleBeEvil commented 5 years ago

when move ublock (check showIconBadge in ublock ) to addonbar,the height will expand,is it bug?

GoogleBeEvil commented 5 years ago

edit:if fixed the height by css ,the icon will be flat round

Aris-t2 commented 5 years ago

Test this code:

#addonbar toolbarbutton .toolbarbutton-icon {
  padding: 0 !important;
  width: 16px !important;
  height: 16px !important;
}

#addonbar .toolbarbutton-badge-stack {
  padding: 0 !important;
  margin: 0 !important;
  width: 16px !important;
  min-width: 16px !important;
  height: 16px !important;
  min-height: 16px !important;
}

#addonbar toolbarbutton .toolbarbutton-badge {
  margin-top: 0px !important;
  font-size: 8px !important;
}
Aris-t2 commented 5 years ago

This tweak is now available as an option within the script.