Align advanced search filters (#32)

Align advanced search filters (#32)

diff --git a/assets/javascripts/discourse/initializers/category-experts-search.js b/assets/javascripts/discourse/initializers/category-experts-search.js
index 0c4a503..872f323 100644
--- a/assets/javascripts/discourse/initializers/category-experts-search.js
+++ b/assets/javascripts/discourse/initializers/category-experts-search.js
@@ -89,9 +89,10 @@ function initialize(api) {
       setupComponent() {
         this.set(
           "canSeeIsQuestionFilter",
-          this.currentUser.staff ||
-            (this.currentUser.expert_for_category_ids &&
-              this.currentUser.expert_for_category_ids.length)
+          this.currentUser &&
+            (this.currentUser.staff ||
+              (this.currentUser.expert_for_category_ids &&
+                this.currentUser.expert_for_category_ids.length))
         );
       },
 
diff --git a/assets/stylesheets/common.scss b/assets/stylesheets/common.scss
index 33c38c2..5289734 100644
--- a/assets/stylesheets/common.scss
+++ b/assets/stylesheets/common.scss
@@ -94,3 +94,7 @@ article.category-expert-post {
 ul.category-experts-post-admin-menu-btn li {
   border-top: 1px solid $primary-low !important;
 }
+
+.category-experts-search-fields label {
+  display: block;
+}

GitHub sha: 162fd649

This commit appears in #32 which was approved by eviltrout. It was merged by markvanlan.