diff --git a/app/assets/javascripts/discourse/app/templates/components/search-advanced-options.hbs b/app/assets/javascripts/discourse/app/templates/components/search-advanced-options.hbs index 0920c12f772..03b0a9a4d89 100644 --- a/app/assets/javascripts/discourse/app/templates/components/search-advanced-options.hbs +++ b/app/assets/javascripts/discourse/app/templates/components/search-advanced-options.hbs @@ -60,59 +60,69 @@
-
- {{#if currentUser}} -
-
- {{/if}} - {{combo-box - id="in" - valueProperty="value" - content=inOptions - value=searchedTerms.in - onChange=(action "onChangeSearchTermForIn") - options=(hash - none="user.locale.any" - clearable=true - ) - }} + +
+ {{/if}} + {{combo-box + id="in" + valueProperty="value" + content=inOptions + value=searchedTerms.in + onChange=(action "onChangeSearchTermForIn") + options=(hash + none="user.locale.any" + clearable=true + ) + }} +
diff --git a/app/assets/stylesheets/common/base/discourse.scss b/app/assets/stylesheets/common/base/discourse.scss index 9bdd3be77a5..ebaeaa087db 100644 --- a/app/assets/stylesheets/common/base/discourse.scss +++ b/app/assets/stylesheets/common/base/discourse.scss @@ -859,3 +859,24 @@ table { z-index: z("max"); color: var(--secondary); } + +.controls { + .grouped-control { + display: flex; + flex-direction: column; + + .grouped-control-label { + padding: 0.25em 0; + } + + .grouped-control-field { + flex: 1 0 auto; + display: flex; + padding-bottom: 0.25em; + + label { + margin: 0; + } + } + } +}