Переглянути джерело

Fix styling of multi-selects

alexweissman 7 роки тому
батько
коміт
356920421a
2 змінених файлів з 6 додано та 1 видалено
  1. 0 1
      pages/06.data-sources/02.ajax/docs.md
  2. 6 0
      themes/site/css/theme.css

+ 0 - 1
pages/06.data-sources/02.ajax/docs.md

@@ -282,7 +282,6 @@ function formatRepo (repo) {
 }
 
 function formatRepoSelection (repo) {
-  console.log(repo);
   return repo.full_name || repo.text;
 }
 </script>

+ 6 - 0
themes/site/css/theme.css

@@ -39,3 +39,9 @@ img.img-flag {
     height: 15px;
     width: 18px;
 }
+
+/* Override some styles for Select2 component elements */
+input.select2-search__field {
+    margin-bottom: 0;
+    line-height: inherit;
+}