mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-15 05:16:34 +00:00
Fix input_number flexbox. (#1586)
This commit is contained in:
parent
cbef262805
commit
13ece650bc
@ -17,11 +17,14 @@ class HuiGenericEntityRow extends PolymerElement {
|
||||
}
|
||||
.flex {
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
margin-left: 16px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
min-width: 0;
|
||||
}
|
||||
.info {
|
||||
flex: 1 0 60px;
|
||||
}
|
||||
.info,
|
||||
.info > * {
|
||||
@ -31,6 +34,7 @@ class HuiGenericEntityRow extends PolymerElement {
|
||||
}
|
||||
.flex ::slotted(*) {
|
||||
margin-left: 8px;
|
||||
min-width: 0;
|
||||
}
|
||||
.secondary,
|
||||
ha-relative-time {
|
||||
@ -46,6 +50,9 @@ class HuiGenericEntityRow extends PolymerElement {
|
||||
background-color: yellow;
|
||||
padding: 8px;
|
||||
}
|
||||
state-badge {
|
||||
flex: 0 0 40px;
|
||||
}
|
||||
</style>
|
||||
<template is="dom-if" if="[[_stateObj]]">
|
||||
<template is="dom-if" if="[[!config.icon]]">
|
||||
|
Loading…
x
Reference in New Issue
Block a user