Add tooltips to header buttons, fixes #401

This commit is contained in:
Jeremy Kauffman 2017-07-30 17:24:40 -04:00
parent 72340475e3
commit af34bdfff1
2 changed files with 6 additions and 2 deletions

View file

@ -8,7 +8,7 @@ Web UI version numbers should always match the corresponding version of LBRY App
## [Unreleased]
### Added
*
* Add tooltips to controls in header
*
### Changed

View file

@ -8,13 +8,14 @@ export const Header = props => {
return (
<header id="header">
<div className="header__item">
<Link onClick={back} button="alt button--flat" icon="icon-arrow-left" />
<Link onClick={back} button="alt button--flat" icon="icon-arrow-left" title={__("Back")} />
</div>
<div className="header__item">
<Link
onClick={() => navigate("/discover")}
button="alt button--flat"
icon="icon-home"
title={__("Discover Content")}
/>
</div>
<div className="header__item header__item--wunderbar">
@ -26,6 +27,7 @@ export const Header = props => {
button="text"
icon="icon-bank"
label={balance}
title={__("Wallet")}
/>
</div>
<div className="header__item">
@ -41,6 +43,7 @@ export const Header = props => {
onClick={() => navigate("/downloaded")}
button="alt button--flat"
icon="icon-folder"
title={__("Downloads and Publishes")}
/>
</div>
<div className="header__item">
@ -48,6 +51,7 @@ export const Header = props => {
onClick={() => navigate("/settings")}
button="alt button--flat"
icon="icon-gear"
title={__("Settings")}
/>
</div>
</header>