A platform for community discussion. Free, open, simple.
UX: restyling of the solved popup (#34518)
chapoiaebba256dfaa
diff --git a/app/assets/stylesheets/common/base/topic.scss b/app/assets/stylesheets/common/base/topic.scssindex 55ba39d010f..72f147ad1f8 100644--- a/app/assets/stylesheets/common/base/topic.scss+++ b/app/assets/stylesheets/common/base/topic.scss@@ -60,19 +60,25 @@top: 0;overflow-y: auto;z-index: z("timeline");- padding: 10px 10px 35px 10px;+ padding: var(--space-4);box-shadow: var(--shadow-dropdown);background: var(--tertiary-low);+ h2 {+ font-size: var(--font-0);+ padding-right: calc(+ 1em + 0.65em - var(--space-2)+ ); // more or less reserved space for floating close button+ }+.close {display: flex;align-items: center;position: absolute;right: 0;- top: 8px;+ top: 0;color: var(--primary);opacity: 0.5;- font-size: var(--font-up-1);}}}diff --git a/app/assets/stylesheets/common/components/buttons.scss b/app/assets/stylesheets/common/components/buttons.scssindex e4e8e0a3f3f..bb28fef5c67 100644--- a/app/assets/stylesheets/common/components/buttons.scss+++ b/app/assets/stylesheets/common/components/buttons.scss@@ -388,7 +388,6 @@&.close {background: var(--d-button-flat-close-bg-color);- font-size: var(--font-up-2);.d-icon {color: var(--d-button-flat-close-icon-color);diff --git a/plugins/discourse-solved/assets/javascripts/discourse/connectors/topic-navigation/no-answer.gjs b/plugins/discourse-solved/assets/javascripts/discourse/connectors/topic-navigation/no-answer.gjsindex c7a9a78ee78..0c316ca8906 100644--- a/plugins/discourse-solved/assets/javascripts/discourse/connectors/topic-navigation/no-answer.gjs+++ b/plugins/discourse-solved/assets/javascripts/discourse/connectors/topic-navigation/no-answer.gjs@@ -56,7 +56,7 @@ export default class NoAnswer extends Component {@popupId="solved-notice"@dismissDuration={{this.oneWeek}}>- <h3>{{i18n "solved.no_answer.title"}}</h3>+ <h2>{{i18n "solved.no_answer.title"}}</h2><p>{{i18n "solved.no_answer.description"}}</p></TopicNavigationPopup>{{/if}}