diff --git a/less/header.less b/less/header.less index 1bcc828..f9cbbd5 100644 --- a/less/header.less +++ b/less/header.less @@ -252,6 +252,17 @@ margin-left: -30px; } } + .quick-search-results { + max-width: 400px; + max-height: 500px; + overflow-x: hidden; + overflow-y: auto; + a { + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden + } + } } .breadcrumb { diff --git a/templates/partials/menu.tpl b/templates/partials/menu.tpl index febb789..45cb5d6 100644 --- a/templates/partials/menu.tpl +++ b/templates/partials/menu.tpl @@ -171,12 +171,15 @@ +
  • diff --git a/templates/partials/quick-search-results.tpl b/templates/partials/quick-search-results.tpl new file mode 100644 index 0000000..ddff9ad --- /dev/null +++ b/templates/partials/quick-search-results.tpl @@ -0,0 +1,20 @@ + +
  • + + + + + {posts.user.icon:text} + + {posts.topic.title} + + +
  • + + +
  • + + [[search:see-more-results]] + +
  • + \ No newline at end of file