]> cat aescling's git repositories - mastodon.git/commitdiff
add scrollbar to mojon suggestions list when too long
authorOndřej Hruška <ondra@ondrovo.com>
Wed, 20 Sep 2017 19:53:08 +0000 (21:53 +0200)
committerOndřej Hruška <ondra@ondrovo.com>
Wed, 20 Sep 2017 19:53:08 +0000 (21:53 +0200)
app/javascript/styles/components.scss

index 2437d5a910a9cd09886b66ccda7504697b56f742..03f4f0800f076b1d731a0c69e00f5d5b114f0193 100644 (file)
 .autosuggest-textarea__suggestions {
   display: none;
   position: absolute;
+  max-height: 300px;
+  overflow-y: auto;
   top: 100%;
   width: 100%;
   z-index: 99;
This page took 0.03062 seconds and 3 git commands to generate.