delete test page

This commit is contained in:
2025-07-22 16:43:28 +03:00
parent 95e0551540
commit 3247e7e32f
2 changed files with 2 additions and 123 deletions

View File

@@ -1,10 +1,6 @@
<script lang="ts">
import domtoimage from "dom-to-image";
import Cropper, {
type CropArea,
type OnCropComplete,
type OnCropCompleteEvent,
} from "svelte-easy-crop";
import Cropper, { type OnCropCompleteEvent } from "svelte-easy-crop";
let crop = { x: 0, y: 0 };
let zoom = 1;
@@ -68,11 +64,6 @@
// Убираем лишние стили
if (node) {
node.style.border = "none";
node.style.padding = "0";
node.style.margin = "0";
node.style.outline = "none";
domtoimage
.toPng(node, {
style: {
@@ -193,6 +184,7 @@
<!-- Текст -->
{#if text}
<div
id="text-frame"
class="absolute bottom-0 left-0 right-0 py-5 bg-black/70 rounded-t-4xl"
>
<h1