mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Polymer 1.0: Fix listening bar in states partial
This commit is contained in:
parent
24b575d21a
commit
a53265b76e
@ -9,7 +9,13 @@
|
||||
|
||||
<dom-module id="partial-states">
|
||||
<style>
|
||||
.listening {
|
||||
.content-wrapper {
|
||||
position: relative;
|
||||
height: 100%;
|
||||
background-color: #E5E5E5;
|
||||
}
|
||||
|
||||
.content-wrapper ::content .listening {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
@ -31,11 +37,6 @@
|
||||
.listening paper-spinner {
|
||||
float: right;
|
||||
}
|
||||
|
||||
state-cards {
|
||||
height: 100%;
|
||||
background-color: #E5E5E5;
|
||||
}
|
||||
</style>
|
||||
|
||||
<template>
|
||||
@ -49,6 +50,7 @@
|
||||
on-click="handleListenClick"></paper-icon-button>
|
||||
</span>
|
||||
|
||||
<div class='content-wrapper'>
|
||||
<div class='listening' hidden$="[[!showListenInterface]]"
|
||||
on-click="handleListenClick">
|
||||
<iron-icon icon="av:hearing"></iron-icon> <span>{{finalTranscript}}</span>
|
||||
@ -65,6 +67,7 @@
|
||||
Please see the <a href='https://home-assistant.io/getting-started/' target='_blank'>Getting Started</a> section on how to setup your devices.
|
||||
</p>
|
||||
</state-cards>
|
||||
</div>
|
||||
</partial-base>
|
||||
</template>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user