Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

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

  • 5 个回答
  • 13 人有此问题
  • 27 次查看
  • 最后回复者为 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于修改