refactoring

This commit is contained in:
Niels Lyngsø
2024-01-12 18:16:32 +01:00
parent cf95cf38ee
commit ba53fb876f
3 changed files with 36 additions and 17 deletions

View File

@@ -1,5 +1,5 @@
import { UmbTextStyles } from '@umbraco-cms/backoffice/style';
import { css, html, customElement, LitElement, repeat, property, state } from '@umbraco-cms/backoffice/external/lit';
import { css, html, customElement, LitElement, repeat, property } from '@umbraco-cms/backoffice/external/lit';
import { UmbElementMixin } from '@umbraco-cms/backoffice/element-api';
import { UmbSorterConfig, UmbSorterController } from '@umbraco-cms/backoffice/sorter';

View File

@@ -14,7 +14,7 @@ export class ExampleSorterItem extends UmbElementMixin(LitElement) {
render() {
return html`
${this.name}
<img src="https://picsum.photos/seed/${this.name}/500/500" style="width:250px;" />
<img src="https://picsum.photos/seed/${this.name}/400/400" style="width:120px;" />
<slot></slot>
`;
}