From ee0f8ad19a247bf19de9355789c5620bb26b21b6 Mon Sep 17 00:00:00 2001 From: Alonso Torres Date: Tue, 22 Apr 2025 21:03:45 +0200 Subject: [PATCH] :bug: Fix horizontal scroll in viewer (#6347) --- CHANGES.md | 1 + frontend/src/app/main/ui/viewer.scss | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index 527ad7b275..824cbf4088 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -13,6 +13,7 @@ - Fix unexpected exception on template import from libraries - Fix incorrect uuid parsing from different parts of code - Fix update layout on component restore [Taiga #10637](https://tree.taiga.io/project/penpot/issue/10637) +- Fix horizontal scroll in viewer [Github #6290](https://github.com/penpot/penpot/issues/6290) ## 2.6.1 diff --git a/frontend/src/app/main/ui/viewer.scss b/frontend/src/app/main/ui/viewer.scss index 7e475a227b..31194da31b 100644 --- a/frontend/src/app/main/ui/viewer.scss +++ b/frontend/src/app/main/ui/viewer.scss @@ -117,6 +117,7 @@ padding-right: 0 $s-8 $s-40 $s-8; transition: transform 400ms ease 300ms; z-index: $z-index-2; + pointer-events: none; } .reset-button {