mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-31 13:07:49 +00:00
Fix layout of history and logbook filters (#4963)
This commit is contained in:
parent
5d2242dd16
commit
95aa29d6ca
@ -41,7 +41,10 @@ class HaPanelHistory extends LocalizeMixin(PolymerElement) {
|
|||||||
margin-right: 16px;
|
margin-right: 16px;
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
--paper-input-container-label-floating: {
|
--paper-input-container-label-floating: {
|
||||||
padding-bottom: 10px;
|
padding-bottom: 11px;
|
||||||
|
}
|
||||||
|
--paper-input-suffix: {
|
||||||
|
height: 24px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@ class HaPanelLogbook extends LocalizeMixin(PolymerElement) {
|
|||||||
|
|
||||||
.filters {
|
.filters {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: flex-end;
|
||||||
}
|
}
|
||||||
|
|
||||||
:host([narrow]) .filters {
|
:host([narrow]) .filters {
|
||||||
@ -73,7 +73,10 @@ class HaPanelLogbook extends LocalizeMixin(PolymerElement) {
|
|||||||
max-width: 100px;
|
max-width: 100px;
|
||||||
margin-right: 16px;
|
margin-right: 16px;
|
||||||
--paper-input-container-label-floating: {
|
--paper-input-container-label-floating: {
|
||||||
padding-bottom: 10px;
|
padding-bottom: 11px;
|
||||||
|
}
|
||||||
|
--paper-input-suffix: {
|
||||||
|
height: 24px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -92,6 +95,9 @@ class HaPanelLogbook extends LocalizeMixin(PolymerElement) {
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
max-width: 400px;
|
max-width: 400px;
|
||||||
|
--paper-input-suffix: {
|
||||||
|
height: 24px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
:host([narrow]) ha-entity-picker {
|
:host([narrow]) ha-entity-picker {
|
||||||
|
@ -6,7 +6,8 @@ documentContainer.innerHTML = `
|
|||||||
<template>
|
<template>
|
||||||
<style>
|
<style>
|
||||||
:host {
|
:host {
|
||||||
padding: 8px 0;
|
padding: 8px 0 11px 0;
|
||||||
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
[part~="label"] {
|
[part~="label"] {
|
||||||
@ -35,6 +36,9 @@ documentContainer.innerHTML = `
|
|||||||
|
|
||||||
[part~="value"] {
|
[part~="value"] {
|
||||||
font-size: var(--paper-font-subhead_-_font-size);
|
font-size: var(--paper-font-subhead_-_font-size);
|
||||||
|
height: 24px;
|
||||||
|
padding-top: 4px;
|
||||||
|
padding-bottom: 0;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</template>
|
</template>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user