mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-08 01:46:35 +00:00
Tweak panel padding so they match with eachother (#171)
This commit is contained in:
parent
029ed86395
commit
5d6cd514ab
@ -27,7 +27,7 @@
|
||||
}
|
||||
.content {
|
||||
@apply(--paper-font-body1);
|
||||
padding: 24px;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.ha-form {
|
||||
|
@ -21,7 +21,7 @@
|
||||
}
|
||||
|
||||
.content {
|
||||
padding: 24px;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.about {
|
||||
|
@ -25,7 +25,7 @@
|
||||
}
|
||||
|
||||
.content {
|
||||
padding: 24px;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.ha-form {
|
||||
|
@ -24,7 +24,7 @@
|
||||
}
|
||||
|
||||
.content {
|
||||
padding: 24px;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.entities th {
|
||||
@ -59,8 +59,10 @@
|
||||
|
||||
<div class='content'>
|
||||
<div>
|
||||
Set the representation of a device within Home Assistant.<br />
|
||||
This will not communicate with the actual device.
|
||||
<p>
|
||||
Set the representation of a device within Home Assistant.<br />
|
||||
This will not communicate with the actual device.
|
||||
</p>
|
||||
|
||||
<paper-input label="Entity ID" autofocus required value='{{_entityId}}'></paper-input>
|
||||
<paper-input label="State" required value='{{_state}}'></paper-input>
|
||||
|
@ -23,7 +23,7 @@
|
||||
}
|
||||
|
||||
.content {
|
||||
padding: 24px;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.edit-pane {
|
||||
|
@ -16,20 +16,12 @@
|
||||
<template>
|
||||
<style include="iron-flex ha-style">
|
||||
.content {
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
.content.wide {
|
||||
padding: 8px;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
paper-input {
|
||||
max-width: 200px;
|
||||
}
|
||||
|
||||
.narrow paper-input {
|
||||
margin-left: 8px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<app-header-layout has-scrolling-region>
|
||||
@ -44,7 +36,7 @@
|
||||
</app-toolbar>
|
||||
</app-header>
|
||||
|
||||
<div class$="[[computeContentClasses(narrow)]]">
|
||||
<div class="flex content">
|
||||
<paper-input
|
||||
label='Showing entries for'
|
||||
id='datePicker'
|
||||
@ -156,8 +148,5 @@ Polymer({
|
||||
this.datePicker.destroy();
|
||||
},
|
||||
|
||||
computeContentClasses: function (narrow) {
|
||||
return narrow ? 'flex content narrow' : 'flex content wide';
|
||||
},
|
||||
});
|
||||
</script>
|
||||
|
@ -9,7 +9,6 @@
|
||||
<style>
|
||||
:host {
|
||||
display: block;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.entry {
|
||||
|
@ -18,8 +18,8 @@
|
||||
<dom-module id="ha-panel-logbook">
|
||||
<template>
|
||||
<style include="ha-style">
|
||||
.selected-date-container {
|
||||
padding: 0 16px;
|
||||
.content {
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
paper-input {
|
||||
@ -43,7 +43,7 @@
|
||||
</app-toolbar>
|
||||
</app-header>
|
||||
|
||||
<div>
|
||||
<div class="flex content">
|
||||
<div class='selected-date-container'>
|
||||
<paper-input
|
||||
label='Showing entries for'
|
||||
@ -167,5 +167,6 @@ Polymer({
|
||||
detached: function () {
|
||||
this.datePicker.destroy();
|
||||
},
|
||||
|
||||
});
|
||||
</script>
|
||||
|
Loading…
x
Reference in New Issue
Block a user