From 5d712494a53208ba5d1a2aeb9e257d794cd7f1a5 Mon Sep 17 00:00:00 2001 From: Daneel Date: Fri, 20 Feb 2026 19:21:55 +0100 Subject: [PATCH] feat: v4.7.0 - resize handle cursor col-resize (explicit div, z-index), grabbing cursor during drag --- app/config.py | 2 +- app/static/css/app.css | 19 +++++++++---------- app/static/index.html | 2 +- app/static/js/canvas.js | 15 ++++++++++----- 4 files changed, 21 insertions(+), 17 deletions(-) diff --git a/app/config.py b/app/config.py index cb91ac3..3397773 100644 --- a/app/config.py +++ b/app/config.py @@ -1,5 +1,5 @@ """Application configuration.""" -VERSION = "4.6.0" +VERSION = "4.7.0" MAX_FILE_SIZE_MB = 10 DEFAULT_COLOR = "#ffffff" diff --git a/app/static/css/app.css b/app/static/css/app.css index a43cee6..1fefa89 100644 --- a/app/static/css/app.css +++ b/app/static/css/app.css @@ -872,23 +872,22 @@ body { line-height: 1.2; } -/* Resize handle on right edge */ -.block-el::after { - content: ''; +/* Resize handle on right edge — explicit element, always correct cursor */ +.block-resize-handle { position: absolute; right: 0; top: 0; bottom: 0; - width: 6px; - cursor: ew-resize; - background: rgba(255,255,255,0.2); + width: 8px; + cursor: col-resize; + z-index: 5; border-radius: 0 4px 4px 0; - opacity: 0; - transition: opacity 0.12s; + background: transparent; + transition: background 0.12s; } -.block-el:hover::after { - opacity: 1; +.block-el:hover .block-resize-handle { + background: rgba(255,255,255,0.25); } /* Duration row (hours + minutes) */ diff --git a/app/static/index.html b/app/static/index.html index 2a87fc5..8b133d5 100644 --- a/app/static/index.html +++ b/app/static/index.html @@ -13,7 +13,7 @@

Scénář Creator

- v4.6 + v4.7