mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-22 09:15:33 +03:00
Show tooltips for the tiny buttons on poll UI
This commit is contained in:
parent
4dd706ff96
commit
6a16b25722
1 changed files with 2 additions and 0 deletions
|
@ -199,6 +199,7 @@ export default function Poll({
|
|||
setUIState('default');
|
||||
})();
|
||||
}}
|
||||
title="Refresh"
|
||||
>
|
||||
<Icon icon="refresh" alt="Refresh" />
|
||||
</button>
|
||||
|
@ -212,6 +213,7 @@ export default function Poll({
|
|||
e.preventDefault();
|
||||
setShowResults(!showResults);
|
||||
}}
|
||||
title={showResults ? 'Hide results' : 'Show results'}
|
||||
>
|
||||
<Icon
|
||||
icon={showResults ? 'eye-open' : 'eye-close'}
|
||||
|
|
Loading…
Reference in a new issue