Browse Source

Stag suggest - show option only when in focus

Vijayakrishnan 3 năm trước cách đây
mục cha
commit
64ac222671
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      public/css/style.css

+ 3 - 0
public/css/style.css

@@ -719,6 +719,9 @@ input.search_field, textarea.search_field {
     right: auto;
     min-width: 100%;
 }
+[stag-suggest]:not(:focus)+.stag-suggestions-container {
+    display: none !important
+}
 .suggestions-outer .suggest-item, .suggestions-outer .no-suggest-items {
     padding: 0.25rem 0.5rem;
     text-decoration: none;