Show tooltips for the tiny buttons on poll UI

This commit is contained in:
Lim Chee Aun 2023-09-30 23:23:52 +08:00
parent 4dd706ff96
commit 6a16b25722

View file

@ -199,6 +199,7 @@ export default function Poll({
setUIState('default'); setUIState('default');
})(); })();
}} }}
title="Refresh"
> >
<Icon icon="refresh" alt="Refresh" /> <Icon icon="refresh" alt="Refresh" />
</button> </button>
@ -212,6 +213,7 @@ export default function Poll({
e.preventDefault(); e.preventDefault();
setShowResults(!showResults); setShowResults(!showResults);
}} }}
title={showResults ? 'Hide results' : 'Show results'}
> >
<Icon <Icon
icon={showResults ? 'eye-open' : 'eye-close'} icon={showResults ? 'eye-open' : 'eye-close'}