Only show microphone when speech input is available

This commit is contained in:
2018-04-20 20:24:42 +02:00
parent 16cc544314
commit 21f36ba299
3 changed files with 13 additions and 2 deletions

View File

@ -105,13 +105,18 @@ const sidebar-spacing-y = 0.7rem
// Microphone icon
.speech-input
opacity 0.5
display none
opacity 0
default-transition
:hover
cursor pointer
opacity 1
.speech-input-available
display block
opacity 0.5
.speech-listening
color link-hover-color
opacity 1