mirror of
https://github.com/home-assistant/frontend.git
synced 2025-08-01 13:37:47 +00:00
Fix select size
This commit is contained in:
parent
d0f3eed49e
commit
60c7a0e545
@ -83,7 +83,7 @@ export class HaControlSelectMenu extends SelectBase {
|
||||
if (!this.showArrow) return nothing;
|
||||
|
||||
return html`
|
||||
<div class="icon">
|
||||
<div class="icon arrow">
|
||||
<ha-svg-icon .path=${mdiMenuDown}></ha-svg-icon>
|
||||
</div>
|
||||
`;
|
||||
@ -179,7 +179,8 @@ export class HaControlSelectMenu extends SelectBase {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
justify-content: center;
|
||||
flex: 1;
|
||||
width: 0;
|
||||
flex-grow: 1;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
@ -192,6 +193,13 @@ export class HaControlSelectMenu extends SelectBase {
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.arrow {
|
||||
margin-left: -10px;
|
||||
margin-inline-end: initial;
|
||||
margin-inline-start: -10px;
|
||||
direction: var(--direction);
|
||||
}
|
||||
|
||||
.label {
|
||||
font-size: 0.85em;
|
||||
letter-spacing: 0.4px;
|
||||
|
@ -206,7 +206,7 @@ export class HuiCardFeaturesEditor extends LitElement {
|
||||
);
|
||||
}
|
||||
};
|
||||
)
|
||||
|
||||
private _supportsFeatureType(type: string): boolean {
|
||||
if (!this.stateObj) return false;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user