add titles to toolbar buttons

main
Mike Fix 4 years ago
parent 884e185eb0
commit dbeca58108
No known key found for this signature in database
GPG Key ID: 1D85E862314CA79F

@ -77,6 +77,7 @@ function CopyMenu({ isVisible, toggleVisibility, copyImage, carbonRef }) {
margin="0 8px 0 0" margin="0 8px 0 0"
onClick={toggleVisibility} onClick={toggleVisibility}
color={COLORS.SECONDARY} color={COLORS.SECONDARY}
title="Copy menu"
> >
<CopySVG size={16} color={COLORS.SECONDARY} /> <CopySVG size={16} color={COLORS.SECONDARY} />
</Button> </Button>

@ -70,6 +70,7 @@ function ExportMenu({
onClick={handleExport('png')} onClick={handleExport('png')}
data-cy="quick-export-button" data-cy="quick-export-button"
style={{ minWidth: 92, borderBottomRightRadius: 0, borderTopRightRadius: 0 }} style={{ minWidth: 92, borderBottomRightRadius: 0, borderTopRightRadius: 0 }}
title="Quick export"
> >
{loading ? 'Exporting…' : 'Export'} {loading ? 'Exporting…' : 'Export'}
</Button> </Button>
@ -84,6 +85,7 @@ function ExportMenu({
data-cy="export-button" data-cy="export-button"
margin="0 0 0 -1px" margin="0 0 0 -1px"
style={{ borderBottomLeftRadius: 0, borderTopLeftRadius: 0 }} style={{ borderBottomLeftRadius: 0, borderTopLeftRadius: 0 }}
title="Export menu dropdown"
> >
<ArrowDown color={COLORS.PURPLE} /> <ArrowDown color={COLORS.PURPLE} />
</Button> </Button>

Loading…
Cancel
Save