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