Skip to content

Commit 9e5311b

Browse files
committed
Do not show cursor for non-clickable elements
This change applies for the timepicker.
1 parent c276ecf commit 9e5311b

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

css/react-datetime.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,3 +211,7 @@ td.rdtYear:hover {
211211
font-size: 1.2em;
212212
margin-top: 37px;
213213
}
214+
215+
.rdtTime td {
216+
cursor: default;
217+
}

example/react-datetime.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,4 +219,8 @@ td.rdtYear:hover {
219219

220220
.rdtDayPart {
221221
margin-top: 43px;
222-
}
222+
}
223+
224+
.rdtTime td {
225+
cursor: default;
226+
}

0 commit comments

Comments
 (0)