diff --git a/app/assets/javascripts/discourse/app/templates/preferences/interface.hbs b/app/assets/javascripts/discourse/app/templates/preferences/interface.hbs index 0bc841af94c..ab744a6ab86 100644 --- a/app/assets/javascripts/discourse/app/templates/preferences/interface.hbs +++ b/app/assets/javascripts/discourse/app/templates/preferences/interface.hbs @@ -35,56 +35,57 @@ {{#if this.showColorSchemeSelector}}
{{i18n "user.color_scheme"}} -
- {{#if this.showDarkColorSchemeSelector}} -
{{i18n "user.color_schemes.regular"}}
- {{/if}} -
- -
-
- {{#if this.showDarkColorSchemeSelector}} -
-
{{i18n "user.color_schemes.dark"}}
+
+
+ {{#if this.showDarkColorSchemeSelector}} +
{{i18n "user.color_schemes.regular"}}
+ {{/if}}
- + {{#if this.showDarkColorSchemeSelector}} +
+
{{i18n "user.color_schemes.dark"}}
+
+ +
+
+ {{/if}} + {{#if this.previewingColorScheme}} + {{#if this.previewingColorScheme}} + + {{/if}} +
+ +
+ {{/if}} +
+ {{#if this.showDarkColorSchemeSelector}}
{{i18n "user.color_schemes.dark_instructions"}}
{{/if}} - - {{#if this.previewingColorScheme}} - {{#if this.previewingColorScheme}} - - {{/if}} - -
- -
- {{/if}}
{{/if}} diff --git a/app/assets/stylesheets/common/base/discourse.scss b/app/assets/stylesheets/common/base/discourse.scss index 7aac037d920..77dd5cd2e89 100644 --- a/app/assets/stylesheets/common/base/discourse.scss +++ b/app/assets/stylesheets/common/base/discourse.scss @@ -573,10 +573,6 @@ table { max-width: 100%; } - .control-group { - @include clearfix; - } - .control-label:not(.checkbox-label) { font-family: var(--heading-font-family); font-weight: bold; diff --git a/app/assets/stylesheets/common/base/user.scss b/app/assets/stylesheets/common/base/user.scss index 9ebbd2a256c..c4b33949557 100644 --- a/app/assets/stylesheets/common/base/user.scss +++ b/app/assets/stylesheets/common/base/user.scss @@ -545,7 +545,6 @@ .instructions { color: var(--primary-medium); - margin-bottom: 10px; font-size: var(--font-down-1); line-height: var(--line-height-large); @@ -595,8 +594,11 @@ font-size: var(--font-down-1); } + .color-scheme .controls { + display: flex; + } + .control-subgroup { - float: left; + .controls { clear: both; padding-top: 1em; diff --git a/app/assets/stylesheets/common/components/ignored-user-list.scss b/app/assets/stylesheets/common/components/ignored-user-list.scss index 02135f37206..a907aac6025 100644 --- a/app/assets/stylesheets/common/components/ignored-user-list.scss +++ b/app/assets/stylesheets/common/components/ignored-user-list.scss @@ -1,3 +1,9 @@ +.user-ignore { + .btn-icon-text { + margin-top: 0.5em; + } +} + .ignored-list { overflow: auto; max-height: 150px;