Skip to content

Commit 864c79e

Browse files
committed
fix(packages/core): missing tooltip on sidecar maximize/minimize buttons
Fixes #2883
1 parent a725ffc commit 864c79e

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

packages/core/templates/index.html

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -339,18 +339,22 @@
339339
<!-- maximize button -->
340340
<div class="sidecar-bottom-stripe-button sidecar-bottom-stripe-maximize toggle-sidecar-maximization-button">
341341
<span class="maximize-button-label">
342-
<a href="#" class="graphical-icon kui--tab-navigatable kui--notab-when-sidecar-hidden" tabindex="-1" data-balloon="Expand to full width" data-balloon-length="medium" data-balloon-pos="down-right" aria-label="Expand to full width">
343-
<svg focusable="false" preserveAspectRatio="xMidYMid meet" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" aria-hidden="true">
344-
<path d="M10 1v1h3.3L8.5 6.8l.7.7L14 2.7V6h1V1zM7.5 9.2l-.7-.7L2 13.3V10H1v5h5v-1H2.7z"></path>
345-
</svg>
346-
</a>
342+
<div data-balloon="Expand to full width" data-balloon-length="medium" data-balloon-pos="down-right" aria-label="Expand to full width">
343+
<a href="#" class="graphical-icon kui--tab-navigatable kui--notab-when-sidecar-hidden" tabindex="-1">
344+
<svg focusable="false" preserveAspectRatio="xMidYMid meet" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" aria-hidden="true">
345+
<path d="M10 1v1h3.3L8.5 6.8l.7.7L14 2.7V6h1V1zM7.5 9.2l-.7-.7L2 13.3V10H1v5h5v-1H2.7z"></path>
346+
</svg>
347+
</a>
348+
</div>
347349
</span>
348350
<span class="unmaximize-button-label">
349-
<a href="#" class="graphical-icon kui--tab-navigatable kui--notab-when-sidecar-hidden" tabindex="-1" data-balloon="Restore split screen" data-balloon-length="medium" data-balloon-pos="down-right" aria-label="Restore split screen">
350-
<svg focusable="false" preserveAspectRatio="xMidYMid meet" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" aria-hidden="true">
351-
<path d="M3 9v1h2.3L1 14.3l.7.7L6 10.7V13h1V9zm10-2V6h-2.3L15 1.7l-.7-.7L10 5.3V3H9v4z"></path>
352-
</svg>
353-
</a>
351+
<div data-balloon="Restore split screen" data-balloon-length="medium" data-balloon-pos="down-right" aria-label="Restore split screen">
352+
<a href="#" class="graphical-icon kui--tab-navigatable kui--notab-when-sidecar-hidden" tabindex="-1">
353+
<svg focusable="false" preserveAspectRatio="xMidYMid meet" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" aria-hidden="true">
354+
<path d="M3 9v1h2.3L1 14.3l.7.7L6 10.7V13h1V9zm10-2V6h-2.3L15 1.7l-.7-.7L10 5.3V3H9v4z"></path>
355+
</svg>
356+
</a>
357+
</div>
354358
</span>
355359
</div>
356360

0 commit comments

Comments
 (0)