Date input values should not overlap with menu list dropdown button on iOS
[WebKit-https.git] / Source / WebCore / css / html.css
index a3ab127a0cf8f7015a5ddbeb6549e00c357b8e89..6659ebec71c02282389abdd1e0354a2db883386d 100644 (file)
@@ -526,12 +526,14 @@ input[type="week"] {
 #endif
 #endif
 
-#if !(defined(WTF_PLATFORM_IOS) && WTF_PLATFORM_IOS)
 input::-webkit-date-and-time-value {
+#if defined(WTF_PLATFORM_IOS) && WTF_PLATFORM_IOS
+    margin-right: 18px;
+#else
     margin: 1px 24px 1px 4px;
     white-space: pre;
-}
 #endif
+}
 
 input::-webkit-inner-spin-button {
     -webkit-appearance: inner-spin-button;