diff --git a/scss/_reboot.scss b/scss/_reboot.scss
index 8f41fb44610b201d9200879b87a7585ba626ba74..b10ff1a96baa26f323a8e53f0c5c3e6de795c710 100644
--- a/scss/_reboot.scss
+++ b/scss/_reboot.scss
@@ -505,9 +505,9 @@ progress {
 // Fix height of inputs with a type of datetime-local, date, month, week, or time
 // See https://github.com/twbs/bootstrap/issues/18842
 
-::-webkit-inner-spin-button,
-::-webkit-outer-spin-button {
-  height: 0;
+::-webkit-datetime-edit {
+  overflow: visible;
+  line-height: 0;
 }