mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-19 07:16:39 +00:00
removed unused code and added floating label
This commit is contained in:
parent
40f30b3f18
commit
3e7d774704
@ -27,6 +27,7 @@
|
||||
|
||||
iron-icon.source-input {
|
||||
padding: 7px;
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
paper-dropdown-menu.source-input {
|
||||
@ -74,7 +75,7 @@
|
||||
</div>
|
||||
<div class='controls layout horizontal justified' hidden$='[[!supportsSelectSource]]'>
|
||||
<iron-icon class="source-input" icon="mdi:login-variant"></iron-icon>
|
||||
<paper-dropdown-menu class="source-input" no-label-float label='[[source]]'>
|
||||
<paper-dropdown-menu class="source-input" label-float label='Source'>
|
||||
<paper-menu class="dropdown-content" selected="{{sourceIndex}}">
|
||||
<template is='dom-repeat' items='[[stateObj.attributes.source_list]]'>
|
||||
<paper-item>[[item]]</paper-item>
|
||||
|
@ -231,8 +231,4 @@ export default new Polymer({
|
||||
serviceData.entity_id = this.stateObj.entityId;
|
||||
serviceActions.callService('media_player', service, serviceData);
|
||||
},
|
||||
|
||||
stopPropagation(ev) {
|
||||
ev.stopPropagation();
|
||||
},
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user