Skip to content

Commit

Permalink
Fix #1028: make images and icons not draggable (#1025)
Browse files Browse the repository at this point in the history
Co-authored-by: Tulio Leao <[email protected]>
  • Loading branch information
Karroteu and tupaschoal authored Dec 23, 2023
1 parent 24bca6e commit 9c14796
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,10 @@ body {
text-align: center;
}

.th :only-child {
-webkit-user-drag: none;
}

.th-month-name {
text-align: center;
font-size: 120%;
Expand All @@ -197,6 +201,7 @@ body {
margin-right: auto;
margin-top: auto;
margin-bottom: auto;
user-select: none;
}

.title-header-img {
Expand All @@ -207,6 +212,8 @@ body {

.title-header-img img {
float: right;
user-select: none;
-webkit-user-drag: none;
}

.error-tr {
Expand Down Expand Up @@ -421,6 +428,10 @@ body {
color: var(--punch-disable-bground);
}

.punch-button img {
-webkit-user-drag: none;
}

#punch-button-label {
cursor: pointer;
margin: auto;
Expand Down

0 comments on commit 9c14796

Please sign in to comment.