aboutsummaryrefslogtreecommitdiff
path: root/scss
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2019-08-23 16:59:57 -0700
committerXhmikosR <[email protected]>2019-08-24 02:59:57 +0300
commitb02bae769e989838229c13a7c97d5af4c338601d (patch)
tree9a78b1f8203b7453f6dc2b41453c220aa091bb9f /scss
parent1a9b1206c2e1857ce9dea86a33d3fa58d54a57e1 (diff)
downloadbootstrap-b02bae769e989838229c13a7c97d5af4c338601d.tar.xz
bootstrap-b02bae769e989838229c13a7c97d5af4c338601d.zip
Document example of datalists with form controls (#29058)
- Add example to the new form control docs - Reset the [list] selector in Reboot to hide the random dropdown arrow in Chrome
Diffstat (limited to 'scss')
-rw-r--r--scss/_reboot.scss7
1 files changed, 7 insertions, 0 deletions
diff --git a/scss/_reboot.scss b/scss/_reboot.scss
index 4b14ff101..15cc5972f 100644
--- a/scss/_reboot.scss
+++ b/scss/_reboot.scss
@@ -407,6 +407,13 @@ select {
word-wrap: normal;
}
+// Remove the dropdown arrow in Chrome from inputs built with datalists.
+//
+// Source: https://stackoverflow.com/a/54997118
+
+[list]::-webkit-calendar-picker-indicator {
+ display: none;
+}
// 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
// controls in Android 4.