Skip to content

Commit

Permalink
refine ZK-4711, cursor issue
Browse files Browse the repository at this point in the history
  • Loading branch information
DevChu committed Feb 5, 2024
1 parent 9441d9d commit 9f011e5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions zul/src/main/resources/web/zul/less/_reset.less
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,14 @@ e('</c:if>');
text-transform: none;
}

/* James chu, Potix, 20240205, cursor should be pointer */
@{browserDefaultPrefix}label,
@{browserDefaultPrefix}select,
@{browserDefaultPrefix}input[type="radio"],
@{browserDefaultPrefix}input[type="checkbox"] {
cursor: pointer; // Improves usability and consistency of cursor style between image-type `input` and others.
}

/**
* Correct the inability to style clickable types in iOS and Safari.
*/
Expand All @@ -201,6 +209,8 @@ e('</c:if>');
@{browserDefaultPrefix}[type="reset"],
@{browserDefaultPrefix}[type="submit"] {
-webkit-appearance: button;
/* James chu, Potix, 20240205, cursor should be pointer */
cursor: pointer; // Improves usability and consistency of cursor style between image-type `input` and others.
}

/**
Expand Down

0 comments on commit 9f011e5

Please sign in to comment.