From 9d41829ce286ca0b49cb2780fe88581f48855d92 Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Sun, 30 Jul 2017 21:41:13 -0400 Subject: [PATCH] Fix bug where date inputs would wrap in Safari iOS --- source/css/forms.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/css/forms.css b/source/css/forms.css index 5c818cbb9..289d754f0 100644 --- a/source/css/forms.css +++ b/source/css/forms.css @@ -52,6 +52,7 @@ textarea { padding: calc(var(--component-spacing) * .5); margin: 0; transition: .1s border-color, .1s background-color, .1s color; + white-space: nowrap; -moz-appearance: none; -webkit-appearance: none; } @@ -90,6 +91,7 @@ textarea { height: auto; resize: vertical; line-height: var(--line-height); + white-space: normal; } input[type="color"]::-webkit-color-swatch-wrapper {