From 899d1a10171d4c2bd5771f5facadf1b202a98ee3 Mon Sep 17 00:00:00 2001 From: Patryk Date: Thu, 30 Oct 2025 20:21:09 +0100 Subject: [PATCH] ADD: add text to text block and improve draggable --- index.html | 102 +++++++++++++++++++++++++++++++++-------------------- style.css | 7 ++++ 2 files changed, 70 insertions(+), 39 deletions(-) diff --git a/index.html b/index.html index 7f91c1e..ae4d3aa 100644 --- a/index.html +++ b/index.html @@ -4,6 +4,7 @@ + DrawDiagrams @@ -23,6 +24,7 @@ + diff --git a/style.css b/style.css index a9a9bde..83f17ae 100644 --- a/style.css +++ b/style.css @@ -1,3 +1,9 @@ + * { + margin: 0; + padding: 0; + box-sizing: border-box; + } + .shape-wrapper { display: grid; grid-template-columns: repeat(2, 1fr); @@ -32,6 +38,7 @@ display: flex; align-items: center; justify-content: center; + user-select: none; } .shape {