Skip to content

Commit c7530ca

Browse files
committed
(JS) update tabTooltipNavButtons.uc.js to 1.2.3
(CSS) fix an issue with menulist menupopups being clipped. adjust panel body clip box to content-box so content will be visually constrained 4px from panel edges.
1 parent 93ffbcb commit c7530ca

3 files changed

Lines changed: 11 additions & 7 deletions

File tree

JS/tabTooltipNavButtons.uc.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ==UserScript==
22
// @name Tab Tooltip Navigation Buttons
3-
// @version 1.2.2
3+
// @version 1.2.3
44
// @author aminomancer
55
// @homepage https://github.com/aminomancer/uc.css.js
66
// @description This script turns the tab tooltip into a mini navigation popup
@@ -683,7 +683,7 @@ class TabTooltipNav {
683683

684684
const MAX_HISTORY_MENU_ITEMS = 15;
685685
const tooltipBack = gNavigatorBundle.getString("tabHistory.goBack");
686-
const tooltipCurrent = gNavigatorBundle.getString("tabHistory.current");
686+
const tooltipCurrent = gNavigatorBundle.getString("tabHistory.reloadCurrent");
687687
const tooltipForward = gNavigatorBundle.getString("tabHistory.goForward");
688688

689689
let updateSessionHistory = (sessionHistory, initial, ssInParent) => {

resources/in-content/menus.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ menupopup.in-menulist {
9696
background-color: transparent !important;
9797
border-radius: var(--menupopup-border-radius) !important;
9898
margin: var(--menupopup-margin) !important;
99-
overflow: hidden !important;
99+
/* overflow: hidden !important; */
100100
color: var(--menu-color) !important;
101101
background-image: unset !important;
102102
padding: var(--menupopup-padding) !important;

uc-panels.css

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,14 @@ panelview {
4141
}
4242
}
4343

44+
.panel-subview-body {
45+
overflow-clip-box: content-box !important;
46+
}
47+
48+
.panel-subview-body:not(:last-child) {
49+
padding-bottom: 0 !important;
50+
}
51+
4452
/* without this, the last button in the panel will typically be touching the
4553
edge of the panel, instead of 4px from the edge as it should be.
4654
this connects with .panel-subview-body rules in userChrome.au.css */
@@ -62,10 +70,6 @@ this connects with .panel-subview-body rules in userChrome.au.css */
6270
padding-bottom: 0 !important;
6371
}
6472

65-
.panel-subview-body:not(:last-child) {
66-
padding-bottom: 0 !important;
67-
}
68-
6973
/* fixes a similar tiny height animation hiccup when switching panels in the identity popup */
7074
.identity-popup-section,
7175
.identity-popup-security-content,

0 commit comments

Comments
 (0)