mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-26 03:05:41 +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');
|
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'}
|
||||||
|
|
Loading…
Reference in a new issue