Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

Commit

Permalink
Merge pull request #282 from beakerbrowser/chrome-tab-tooltips
Browse files Browse the repository at this point in the history
Fix tooltips on tab close buttons (close #270)
  • Loading branch information
pfrazee committed Feb 7, 2017
2 parents d81d62d + 7055fec commit fb1436c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/shell-window/ui/tabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ var currentTabWidth = MAX_TAB_WIDTH
export function setup () {
// render
tabsContainerEl = yo`<div class="chrome-tabs">
<div class="chrome-tab chrome-tab-add-btn" onclick=${onClickNew}>
<div class="chrome-tab chrome-tab-add-btn" onclick=${onClickNew} title="Open new tab">
<svg width="15" height="30" class="left-edge">
<path class="edge-bg" d="m14,29l0,-28l-2,0.1l-11.45,27.9l13.2,0z" stroke-linecap="null" stroke-linejoin="null" stroke-dasharray="null" stroke-width="0" />
</svg>
Expand Down Expand Up @@ -123,7 +123,7 @@ function drawTab (page) {
<div class="chrome-tab-bg"></div>
<div class="chrome-tab-favicon">${favicon}</div>
<div class="chrome-tab-title">${getNiceTitle(page) || 'New tab'}</div>
<div class="chrome-tab-close" onclick=${onClickTabClose(page)}></div>
<div class="chrome-tab-close" title="Close tab" onclick=${onClickTabClose(page)}></div>
<svg width="15" height="30" class="right-edge">
<path class="edge-bg" d="m14,29l0,-28l-2,0.1l-11.45,27.9l13.2,0z" stroke-linecap="null" stroke-linejoin="null" stroke-dasharray="null" stroke-width="0" />
<path class="edge-border" d="m1,29l11.1,-28l1.9,0" stroke-linejoin="round" stroke-dasharray="null" stroke-width="null" fill="none" />
Expand Down

0 comments on commit fb1436c

Please sign in to comment.