A platform for community discussion. Free, open, simple.
UX: smaller new feature emoji (#24454)
Krzysztof Kotlarek190a7f8c7a5a
diff --git a/app/assets/javascripts/admin/addon/components/dashboard-new-feature-item.gjs b/app/assets/javascripts/admin/addon/components/dashboard-new-feature-item.gjsindex e541608bb7e..a5b4bf79121 100644--- a/app/assets/javascripts/admin/addon/components/dashboard-new-feature-item.gjs+++ b/app/assets/javascripts/admin/addon/components/dashboard-new-feature-item.gjs@@ -9,14 +9,14 @@ export default class DashboardNewFeatureItem extends Component {<div class="admin-new-feature-item"><div class="admin-new-feature-item__content"><div class="admin-new-feature-item__header">- <h3>- {{@item.title}}- </h3>{{#if (and @item.emoji (not @item.screenshot_url))}}<divclass="admin-new-feature-item__new-feature-emoji">{{@item.emoji}}</div>{{/if}}+ <h3>+ {{@item.title}}+ </h3></div>{{#if @item.screenshot_url}}<imgdiff --git a/app/assets/stylesheets/common/admin/dashboard.scss b/app/assets/stylesheets/common/admin/dashboard.scssindex 1bbe788a8de..f367dac3d86 100644--- a/app/assets/stylesheets/common/admin/dashboard.scss+++ b/app/assets/stylesheets/common/admin/dashboard.scss@@ -679,21 +679,18 @@padding: 1em;&__new-feature-emoji {- font-size: 3.5em;- padding-left: 0.5em;+ font-size: 1.2em;+ padding-left: 0;+ padding-right: 0.5em;}&__content {padding-right: 0.5em;width: 100%;}- &__feature-description {- padding-top: 1em;- }&__header {display: flex;align-items: flex-start;- justify-content: space-between;font-size: var(--font-up-1);font-weight: bold;margin-bottom: 0.5em;diff --git a/app/assets/stylesheets/mobile/dashboard.scss b/app/assets/stylesheets/mobile/dashboard.scssindex fec5d4bea4a..9db867cfdd5 100644--- a/app/assets/stylesheets/mobile/dashboard.scss+++ b/app/assets/stylesheets/mobile/dashboard.scss@@ -5,6 +5,7 @@}.navigation a.navigation-link {padding: 0.5em;+ font-size: var(--font-down-1);}.dashboard-new-features .section-body {grid-template-columns: none;