Skip to content

Commit cbe04c2

Browse files
committed
fix: Fixed emojis having undefiend tooltips, b=closes #9361, c=common, tabs
1 parent 2f6a8e8 commit cbe04c2

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

src/zen/common/emojis/ZenEmojiPicker.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@
140140
const item = document.createXULElement('toolbarbutton');
141141
item.className = 'toolbarbutton-1 zen-emojis-picker-emoji';
142142
item.setAttribute('label', emoji.emoji);
143+
item.setAttribute('tooltiptext', '');
143144
item.addEventListener('command', () => {
144145
this.#selectEmoji(emoji.emoji);
145146
});
@@ -154,7 +155,7 @@
154155
const item = document.createXULElement('toolbarbutton');
155156
item.className = 'toolbarbutton-1 zen-emojis-picker-svg';
156157
item.setAttribute('label', icon);
157-
item.setAttribute('tooltiptext', icon.replace('.svg', ''));
158+
item.setAttribute('tooltiptext', '');
158159
item.style.listStyleImage = `url(${this.getSVGURL(icon)})`;
159160
item.setAttribute('icon', icon);
160161
item.addEventListener('command', () => {

src/zen/tabs/zen-tabs/vertical-tabs.css

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,10 +162,12 @@
162162
max-height: 1px;
163163
width: 98%; /* Slightly less than full width */
164164
transition:
165-
padding 0.2s ease-in-out,
166-
max-height 0.2s ease-in-out;
165+
padding 0.1s ease-in-out,
166+
max-height 0.2s ease-in-out,
167+
opacity 0.1s ease-in-out;
167168
overflow: hidden;
168169
position: relative;
170+
opacity: 1;
169171

170172
#tabbrowser-tabs[movingtab] & {
171173
transition: transform 0.1s ease-in-out;
@@ -186,7 +188,8 @@
186188
/* Hide separator when specified by parent container attribute */
187189
.zen-workspace-pinned-tabs-section[hide-separator] & {
188190
max-height: 0;
189-
margin: 0 auto; /* Collapse margins */
191+
padding: 0;
192+
opacity: 0;
190193
}
191194
}
192195

0 commit comments

Comments
 (0)