We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

搜尋 Mozilla 技術支援網站

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

了解更多

The 'x' in a tab for closing it is too small, how to re-size it?

  • 5 回覆
  • 13 有這個問題
  • 73 次檢視
  • 最近回覆由 cor-el

more options

The small 'x' in the tab used for closing the tab is too small and hard to hit, especially when using a trackball or pad. Need some way to make the character bigger.

The small 'x' in the tab used for closing the tab is too small and hard to hit, especially when using a trackball or pad. Need some way to make the character bigger.

被選擇的解決方法

Add code to userChrome.css below the @namespace line.


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

.tab-close-button .toolbarbutton-icon,
.tabs-closebutton .toolbarbutton-icon {
height: 25px !important;
width: 25px !important;
margin:-4px 0px !important;
}

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

所有回覆 (5)

more options

Yes, it is a bit on the small size, but I don't know of a way to resize it.

However, there are other ways of closing tabs.

  • Hit CTRL+W
  • Right click the tab and choose "Close tab"
  • Point the mouse at the tab and press the middle mouse button (probably no good to you since you've got a pad).
  • Install one of these add-ons: Close tab
more options

選擇的解決方法

Add code to userChrome.css below the @namespace line.


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

.tab-close-button .toolbarbutton-icon,
.tabs-closebutton .toolbarbutton-icon {
height: 25px !important;
width: 25px !important;
margin:-4px 0px !important;
}

more options

Thank you Xircal for the info.

由 seymour_b 於 修改

more options

Thank you cor-el, just what I was needing. This worked great after I found the right file to edit.

由 seymour_b 於 修改