about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorOndřej Hruška <ondra@ondrovo.com>2017-09-20 21:53:08 +0200
committerOndřej Hruška <ondra@ondrovo.com>2017-09-20 21:53:08 +0200
commitcbf00168f1c07b93816ae1268a104b3cc00f7589 (patch)
treefa894d2a6f706c94cf4ca816b4f6d691934cb19e /app
parent4f9a493d9d0bb6d502dded619f7ac9d4064452ca (diff)
add scrollbar to mojon suggestions list when too long
Diffstat (limited to 'app')
-rw-r--r--app/javascript/styles/components.scss2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/javascript/styles/components.scss b/app/javascript/styles/components.scss
index 2437d5a91..03f4f0800 100644
--- a/app/javascript/styles/components.scss
+++ b/app/javascript/styles/components.scss
@@ -2096,6 +2096,8 @@
 .autosuggest-textarea__suggestions {
   display: none;
   position: absolute;
+  max-height: 300px;
+  overflow-y: auto;
   top: 100%;
   width: 100%;
   z-index: 99;