change label to tooltip for fileView-actionbar buttons

This commit is contained in:
Eduard Heimbuch
2019-08-28 09:36:52 +02:00
parent 65f89720df
commit 7217a244a7

View File

@@ -27,26 +27,28 @@ class FileButtonGroup extends React.Component<Props> {
return ( return (
<ButtonAddons> <ButtonAddons>
<div title={t("sources.content.sourcesButton")}>
<Button <Button
action={this.showSources} action={this.showSources}
className="reduced-mobile" className="reduced"
color={this.color(!historyIsSelected)} color={this.color(!historyIsSelected)}
> >
<span className="icon"> <span className="icon">
<i className="fas fa-code" /> <i className="fas fa-code" />
</span> </span>
<span>{t("sources.content.sourcesButton")}</span>
</Button> </Button>
</div>
<div title={t("sources.content.historyButton")}>
<Button <Button
action={this.showHistory} action={this.showHistory}
className="reduced-mobile" className="reduced"
color={this.color(historyIsSelected)} color={this.color(historyIsSelected)}
> >
<span className="icon"> <span className="icon">
<i className="fas fa-history" /> <i className="fas fa-history" />
</span> </span>
<span>{t("sources.content.historyButton")}</span>
</Button> </Button>
</div>
</ButtonAddons> </ButtonAddons>
); );
} }