mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-27 19:26:36 +00:00
Remove srcset from brands (#5517)
This commit is contained in:
parent
4f81085d0f
commit
ed54a185e4
@ -88,9 +88,6 @@ class StepFlowPickHandler extends LitElement {
|
||||
slot="item-icon"
|
||||
loading="lazy"
|
||||
src="https://brands.home-assistant.io/_/${handler.slug}/icon.png"
|
||||
srcset="
|
||||
https://brands.home-assistant.io/_/${handler.slug}/icon@2x.png 2x
|
||||
"
|
||||
referrerpolicy="no-referrer"
|
||||
/>
|
||||
|
||||
|
@ -213,11 +213,6 @@ export class HaConfigDevicePage extends LitElement {
|
||||
src="https://brands.home-assistant.io/${
|
||||
integrations[0]
|
||||
}/logo.png"
|
||||
srcset="
|
||||
https://brands.home-assistant.io/${
|
||||
integrations[0]
|
||||
}/logo@2x.png 2x
|
||||
"
|
||||
referrerpolicy="no-referrer"
|
||||
@load=${this._onImageLoad}
|
||||
@error=${this._onImageError}
|
||||
|
@ -203,9 +203,6 @@ export class HaConfigManagerDashboard extends LitElement {
|
||||
<paper-item data-index=${idx}>
|
||||
<img
|
||||
src="https://brands.home-assistant.io/${item.domain}/icon.png"
|
||||
srcset="
|
||||
https://brands.home-assistant.io/${item.domain}/icon@2x.png 2x
|
||||
"
|
||||
referrerpolicy="no-referrer"
|
||||
@error=${this._onImageError}
|
||||
@load=${this._onImageLoad}
|
||||
|
@ -34,9 +34,6 @@ class IntegrationsCard extends LitElement {
|
||||
<img
|
||||
loading="lazy"
|
||||
src="https://brands.home-assistant.io/_/${domain}/icon.png"
|
||||
srcset="
|
||||
https://brands.home-assistant.io/_/${domain}/icon@2x.png 2x
|
||||
"
|
||||
referrerpolicy="no-referrer"
|
||||
/>
|
||||
</td>
|
||||
|
Loading…
x
Reference in New Issue
Block a user