From d8d44af15c4bdcb8954e2867c4b1c9caf55eeef4 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sat, 19 May 2018 21:13:52 -0600 Subject: [PATCH] Add typeahead sass --- .../assets/sass/components/typeahead.scss | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 resources/assets/sass/components/typeahead.scss diff --git a/resources/assets/sass/components/typeahead.scss b/resources/assets/sass/components/typeahead.scss new file mode 100644 index 000000000..9d2da2fd3 --- /dev/null +++ b/resources/assets/sass/components/typeahead.scss @@ -0,0 +1,34 @@ +span.twitter-typeahead { + + width: 100%; + + .tt-menu { + @extend .dropdown-menu; + width: 100%; + max-height: 365px; + overflow-y: auto; + } + + .tt-suggestion { + @extend .dropdown-item; + } + + .tt-suggestion.tt-cursor, + .tt-suggestion:active + { + color: #212529; + background: #fafafa; + } + + .input-group & { + display: flex !important; + align-items: center; + position: relative; + flex: 1 1 auto; + width: 1%; + + .tt-menu, .tt-hint, .tt-input { + width: 100%; + } + } +} \ No newline at end of file