Skip to content

Commit 6a9832a

Browse files
committed
Whitespace formatting
1 parent 75c2555 commit 6a9832a

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

src/packages/media/media/modals/image-cropper-editor/components/image-cropper-editor-field.element.ts

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,16 @@ export class UmbImageCropperEditorFieldElement extends UmbInputImageCropperField
1212
<slot name="actions"></slot>
1313
${when(
1414
!this.hideFocalPoint,
15-
() =>
16-
html`<uui-button
15+
() => html`
16+
<uui-button
1717
compact
1818
id="reset-focal-point"
1919
label=${this.localize.term('content_resetFocalPoint')}
2020
@click=${this.onResetFocalPoint}>
2121
<uui-icon name="icon-axis-rotation"></uui-icon>
2222
${this.localize.term('content_resetFocalPoint')}
23-
</uui-button>`,
23+
</uui-button>
24+
`,
2425
)}
2526
`;
2627
}
@@ -37,13 +38,14 @@ export class UmbImageCropperEditorFieldElement extends UmbInputImageCropperField
3738
${repeat(
3839
this.crops,
3940
(crop) => crop.alias + JSON.stringify(crop.coordinates),
40-
(crop) =>
41-
html` <umb-image-cropper-preview
41+
(crop) => html`
42+
<umb-image-cropper-preview
4243
?active=${this.currentCrop?.alias === crop.alias}
4344
@click=${() => this.onCropClick(crop)}
4445
.crop=${crop}
4546
.focalPoint=${this.focalPoint}
46-
.src=${this.source}></umb-image-cropper-preview>`,
47+
.src=${this.source}></umb-image-cropper-preview>
48+
`,
4749
)}`;
4850
}
4951

@@ -55,13 +57,15 @@ export class UmbImageCropperEditorFieldElement extends UmbInputImageCropperField
5557
gap: var(--uui-size-space-3);
5658
height: 400px;
5759
}
60+
5861
#main {
5962
width: 100%;
6063
height: 100%;
6164
display: flex;
6265
gap: var(--uui-size-space-1);
6366
flex-direction: column;
6467
}
68+
6569
#actions {
6670
display: flex;
6771
justify-content: space-between;
@@ -92,6 +96,7 @@ export class UmbImageCropperEditorFieldElement extends UmbInputImageCropperField
9296
umb-image-cropper-focus-setter {
9397
height: calc(100% - 33px - var(--uui-size-space-1)); /* Temp solution to make room for actions */
9498
}
99+
95100
#side {
96101
display: grid;
97102
grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));

0 commit comments

Comments
 (0)