From 9c14796dddfc8979c62368f290b32c61f42fdea5 Mon Sep 17 00:00:00 2001 From: maks <80761529+Karroteu@users.noreply.github.com> Date: Sat, 23 Dec 2023 14:31:54 +0100 Subject: [PATCH] Fix #1028: make images and icons not draggable (#1025) Co-authored-by: Tulio Leao --- css/styles.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/css/styles.css b/css/styles.css index 1cf471424..21ff52a8a 100644 --- a/css/styles.css +++ b/css/styles.css @@ -174,6 +174,10 @@ body { text-align: center; } +.th :only-child { + -webkit-user-drag: none; +} + .th-month-name { text-align: center; font-size: 120%; @@ -197,6 +201,7 @@ body { margin-right: auto; margin-top: auto; margin-bottom: auto; + user-select: none; } .title-header-img { @@ -207,6 +212,8 @@ body { .title-header-img img { float: right; + user-select: none; + -webkit-user-drag: none; } .error-tr { @@ -421,6 +428,10 @@ body { color: var(--punch-disable-bground); } +.punch-button img { + -webkit-user-drag: none; +} + #punch-button-label { cursor: pointer; margin: auto;