From b3f2ab654e95325b556e0c93b41ea6e15e45fffe Mon Sep 17 00:00:00 2001 From: Harrison Healey Date: Wed, 4 Jan 2017 14:11:37 -0500 Subject: Made Edit Post Modal autocomplete always attach to the bottom of the textarea (#4956) --- webapp/sass/components/_modal.scss | 10 ++++++---- webapp/sass/components/_suggestion-list.scss | 5 +++++ 2 files changed, 11 insertions(+), 4 deletions(-) (limited to 'webapp/sass/components') diff --git a/webapp/sass/components/_modal.scss b/webapp/sass/components/_modal.scss index e23630c3b..f98d23341 100644 --- a/webapp/sass/components/_modal.scss +++ b/webapp/sass/components/_modal.scss @@ -24,10 +24,6 @@ min-height: 8em; } - .suggestion-list { - bottom: -149px; - } - .suggestion-list__content { max-height: 150px; } @@ -669,3 +665,9 @@ padding-left: 0; } } + +.channel-switch-modal { + .modal-body { + overflow: visible; + } +} diff --git a/webapp/sass/components/_suggestion-list.scss b/webapp/sass/components/_suggestion-list.scss index d4cd9ef05..91db7536c 100644 --- a/webapp/sass/components/_suggestion-list.scss +++ b/webapp/sass/components/_suggestion-list.scss @@ -11,6 +11,11 @@ bottom: 100%; } +.suggestion-list--bottom { + position: relative; + height: 0; +} + .suggestion-list__content { background-color: $white; border: $border-gray; -- cgit v1.2.3-1-g7c22