diff --git a/app/assets/javascripts/admin/addon/components/admin-plugins-list-item.gjs b/app/assets/javascripts/admin/addon/components/admin-plugins-list-item.gjs index b9c51b07c46..aa767fef31e 100644 --- a/app/assets/javascripts/admin/addon/components/admin-plugins-list-item.gjs +++ b/app/assets/javascripts/admin/addon/components/admin-plugins-list-item.gjs @@ -67,15 +67,7 @@ export default class AdminPluginsListItem extends Component {
- {{#if @plugin.linkUrl}} - {{@plugin.nameTitleized}} - {{else}} - {{@plugin.nameTitleized}} - {{/if}} + {{@plugin.nameTitleized}}
@@ -98,6 +90,7 @@ export default class AdminPluginsListItem extends Component { target="_blank" > {{i18n "admin.plugins.learn_more"}} + {{icon "external-link-alt"}} {{/if}}
@@ -122,19 +115,18 @@ export default class AdminPluginsListItem extends Component { {{#if this.showPluginSettingsButton}} {{#if @plugin.useNewShowRoute}} - {{icon "cog"}} {{i18n "admin.plugins.change_settings_short"}} {{else}} - {{icon "cog"}} {{i18n "admin.plugins.change_settings_short"}} {{/if}} diff --git a/app/assets/stylesheets/common/admin/plugins.scss b/app/assets/stylesheets/common/admin/plugins.scss index cf2043800ec..ab15b9fa74b 100644 --- a/app/assets/stylesheets/common/admin/plugins.scss +++ b/app/assets/stylesheets/common/admin/plugins.scss @@ -58,6 +58,7 @@ &__name-with-badges { display: flex; + padding: 8px 0 4px; } &__name { @@ -70,11 +71,7 @@ font-size: var(--font-down-2); background-color: var(--primary-low); color: var(--primary-medium); - padding: 0.2em 0.8em; - - .d-icon { - font-size: 0.8em; - } + padding: 4px 8px; & + .admin-plugins-list__badge { margin-left: 0.5em; @@ -86,6 +83,15 @@ font-size: var(--font-down-1); } } + + &__about { + padding: 8px 0; + + .d-icon { + font-size: var(--font-down-3); + margin-bottom: 0.1em; + } + } } } @@ -136,18 +142,18 @@ calc(0.5rem + var(--active-border-width)); &:hover { - color: var(--quaternary); + color: var(--tertiary); background-color: transparent; border-color: transparent; } &.active { - color: var(--quaternary); + color: var(--tertiary); background-color: transparent; border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-width: 0; - border-bottom: var(--active-border-width) solid var(--quaternary); + border-bottom: var(--active-border-width) solid var(--tertiary); padding-bottom: var(--space-2); } } diff --git a/spec/system/admin_plugins_list_spec.rb b/spec/system/admin_plugins_list_spec.rb index 64ffc778f66..453bc47f782 100644 --- a/spec/system/admin_plugins_list_spec.rb +++ b/spec/system/admin_plugins_list_spec.rb @@ -28,9 +28,6 @@ describe "Admin Plugins List", type: :system, js: true do ".admin-plugins-list__author", text: I18n.t("admin_js.admin.plugins.author", { author: "Discourse" }), ) - expect(plugin_row).to have_css( - ".admin-plugins-list__name-with-badges .admin-plugins-list__name a[href=\"https://meta.discourse.org/t/12650\"]", - ) expect(plugin_row).to have_css( ".admin-plugins-list__about", text: spoiler_alert_plugin.metadata.about,