diff --git a/packages/frontend/assets/hill.webp b/packages/frontend/assets/hill.webp new file mode 100644 index 0000000000..20877449b4 Binary files /dev/null and b/packages/frontend/assets/hill.webp differ diff --git a/packages/frontend/src/components/MkWatermarkEditorDialog.vue b/packages/frontend/src/components/MkWatermarkEditorDialog.vue index 72b65b26f7..cd476a8f47 100644 --- a/packages/frontend/src/components/MkWatermarkEditorDialog.vue +++ b/packages/frontend/src/components/MkWatermarkEditorDialog.vue @@ -20,6 +20,7 @@ SPDX-License-Identifier: AGPL-3.0-only
+
{{ i18n.ts.preview }}
@@ -135,22 +136,14 @@ const canvasLoading = ref(true); -webkit-user-drag: none; } -.watermarkEditorPreviewResizerRoot { - position: relative; - flex: 1 0; -} - -.watermarkEditorPreviewResizer { - position: absolute; - top: 50%; - left: 50%; -} - -.watermarkEditorPreviewIframe { - display: block; - border: none; - width: 500px; - color-scheme: light dark; +.watermarkEditorPreviewCanvas { + width: 100%; + height: 100%; + padding: 20px; + box-sizing: border-box; + object-fit: contain; + pointer-events: none; + user-select: none; } .watermarkEditorSettings {