mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-21 16:26:43 +00:00
Align discovered integrations to avavliable space (#5672)
This commit is contained in:
parent
1687d90d02
commit
b0c27e587e
@ -370,28 +370,30 @@ class HaConfigIntegrations extends SubscribeMixin(LitElement) {
|
|||||||
<h2>
|
<h2>
|
||||||
${flow.localized_title}
|
${flow.localized_title}
|
||||||
</h2>
|
</h2>
|
||||||
<mwc-button
|
<div>
|
||||||
unelevated
|
<mwc-button
|
||||||
@click=${this._continueFlow}
|
unelevated
|
||||||
.flowId=${flow.flow_id}
|
@click=${this._continueFlow}
|
||||||
>
|
.flowId=${flow.flow_id}
|
||||||
${this.hass.localize(
|
>
|
||||||
"ui.panel.config.integrations.configure"
|
${this.hass.localize(
|
||||||
)}
|
"ui.panel.config.integrations.configure"
|
||||||
</mwc-button>
|
)}
|
||||||
${DISCOVERY_SOURCES.includes(flow.context.source) &&
|
</mwc-button>
|
||||||
flow.context.unique_id
|
${DISCOVERY_SOURCES.includes(flow.context.source) &&
|
||||||
? html`
|
flow.context.unique_id
|
||||||
<mwc-button
|
? html`
|
||||||
@click=${this._ignoreFlow}
|
<mwc-button
|
||||||
.flow=${flow}
|
@click=${this._ignoreFlow}
|
||||||
>
|
.flow=${flow}
|
||||||
${this.hass.localize(
|
>
|
||||||
"ui.panel.config.integrations.ignore.ignore"
|
${this.hass.localize(
|
||||||
)}
|
"ui.panel.config.integrations.ignore.ignore"
|
||||||
</mwc-button>
|
)}
|
||||||
`
|
</mwc-button>
|
||||||
: ""}
|
`
|
||||||
|
: ""}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</ha-card>
|
</ha-card>
|
||||||
`
|
`
|
||||||
@ -622,8 +624,13 @@ class HaConfigIntegrations extends SubscribeMixin(LitElement) {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
.card-content {
|
.card-content {
|
||||||
|
display: flex;
|
||||||
|
height: 100%;
|
||||||
|
margin-top: 0;
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
.image {
|
.image {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user