From 4f306cf88f9b3e62c9907d08d8e9c12232576703 Mon Sep 17 00:00:00 2001 From: Kris Date: Wed, 3 May 2023 13:37:23 -0400 Subject: [PATCH] UX: fix color scheme setting reset position (#21365) --- .../app/templates/preferences/interface.hbs | 32 +++++++++---------- app/assets/stylesheets/common/base/user.scss | 2 +- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/app/assets/javascripts/discourse/app/templates/preferences/interface.hbs b/app/assets/javascripts/discourse/app/templates/preferences/interface.hbs index ab744a6ab86..4f6e5342257 100644 --- a/app/assets/javascripts/discourse/app/templates/preferences/interface.hbs +++ b/app/assets/javascripts/discourse/app/templates/preferences/interface.hbs @@ -64,23 +64,23 @@ {{/if}} - {{#if this.previewingColorScheme}} - {{#if this.previewingColorScheme}} - - {{/if}} -
- -
- {{/if}} + {{#if this.previewingColorScheme}} + {{#if this.previewingColorScheme}} + + {{/if}} +
+ +
+ {{/if}} {{#if this.showDarkColorSchemeSelector}}
{{i18n "user.color_schemes.dark_instructions"}} diff --git a/app/assets/stylesheets/common/base/user.scss b/app/assets/stylesheets/common/base/user.scss index c4b33949557..33bd796fc3e 100644 --- a/app/assets/stylesheets/common/base/user.scss +++ b/app/assets/stylesheets/common/base/user.scss @@ -641,7 +641,7 @@ } .undo-preview { - margin-bottom: 1em; + margin: 1em 0; } .save-button {