CustomCSSforFx icon indicating copy to clipboard operation
CustomCSSforFx copied to clipboard

Cosmetic problem with tab close button

Open Thalon77 opened this issue 5 years ago • 5 comments

  1. Describe the issue

Just updated Firefox to version 88.0, after the reboot I noticed a little cosmetic change (so nothing really critical or life threatening): the red button to close tabs (enabled it with @import "./css/generalui/close_icon_red.css") has shrunk.

  1. What should have happened instead?

The button was a little bigger before the update (same height of the blue + on the button to create new tabs).

  1. Steps to reproduce the issue?

Updating Firefox to V 88.0

  1. SCREENSHOTS with/without this projects files (drag & drop images into this post)

Cattura

  1. System information
  • latest CustomCSSforFx files (yes / no [no support, if 'no']): V 3.1.9
  • OS & OS version: Win10
  • OS theme (if not default):
  • DPI / HiDPI resolution: 1920x1080
  • Firefox version: 88.0
  • Firefox theme / lw-theme: no theme

Thalon77 avatar Apr 20 '21 20:04 Thalon77

Same thing here using close_icon_firefox3.css on Fx88:

Close tab

The close tab buttons are now smaller. Any way to make this larger like it was on Fx87 and prior versions?

glennpc avatar Apr 20 '21 23:04 glennpc

For now, I'm using the close_icon_windows10redv2.css which has a larger button.

close-tab

glennpc avatar Apr 21 '21 16:04 glennpc

Try adjusting the width: .tab-close-button.close-icon { width: 24px !important; }

The close icons in this project are not all the same size so try different widths. I'm not using the close icons in this project. I tried close_icon_firefox3.css and the above width made the close icon bigger.

2BeeOrNot avatar Apr 22 '21 02:04 2BeeOrNot

The code above has no effect on it. The problem exists because I'm using:

@import "./css/tabs/classic_squared_tabs.css"; /**/

When I remove that, the close button is large again.

EDIT:

I added back classic_squared_tabs but placed this code into my_userChrome.css file:

.tabbrowser-tab:not([pinned]) .tab-content .close-icon, :root[uidensity=touch] .tabbrowser-tab:not([pinned]) .tab-content .close-icon { width: 20px !important; height: 20px !important; }

The width and height was 16px. Using 20px makes it look like it used to be.

classic_squared_tabs

glennpc avatar Apr 22 '21 17:04 glennpc

Changing close icons width and height to 20px fixes this like glennpc mentioned.

#TabsToolbar .tabbrowser-tab .tab-content .close-icon {
  width: 20px !important;
  height: 20px !important;
}

Aris-t2 avatar Apr 22 '21 17:04 Aris-t2