Просмотр исходного кода

Stag suggest - show option only when in focus

Vijayakrishnan 3 лет назад
Родитель
Сommit
64ac222671
1 измененных файлов с 3 добавлено и 0 удалено
  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;