diff options
| -rw-r--r-- | app/views/helpers/index/normal/entry_bottom.phtml | 2 | ||||
| -rw-r--r-- | p/themes/base-theme/template.css | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/app/views/helpers/index/normal/entry_bottom.phtml b/app/views/helpers/index/normal/entry_bottom.phtml index 784a41e1f..1f35318e3 100644 --- a/app/views/helpers/index/normal/entry_bottom.phtml +++ b/app/views/helpers/index/normal/entry_bottom.phtml @@ -42,7 +42,7 @@ <a class="dropdown-toggle" href="#dropdown-labels-<?php echo $this->entry->id();?>"><?php echo _t('index.menu.tags'); ?></a> - <ul class="dropdown-menu"> + <ul class="dropdown-menu dropdown-menu-scrollable"> <li class="dropdown-close"><a href="#close">❌</a></li> <!-- Ajax --> </ul> diff --git a/p/themes/base-theme/template.css b/p/themes/base-theme/template.css index 273b3d07f..f07b397f4 100644 --- a/p/themes/base-theme/template.css +++ b/p/themes/base-theme/template.css @@ -230,6 +230,11 @@ a.btn { background: #fff; border: 1px solid #aaa; } +.dropdown-menu-scrollable { + max-height: 75vh; + overflow-x: hidden; + overflow-y: auto; +} .dropdown-header { display: block; } |
