diff --git a/app/assets/stylesheets/admin/admin_report_table.scss b/app/assets/stylesheets/admin/admin_report_table.scss index b48bc850b7f..42fd21541ac 100644 --- a/app/assets/stylesheets/admin/admin_report_table.scss +++ b/app/assets/stylesheets/admin/admin_report_table.scss @@ -9,7 +9,6 @@ .table .admin-report-table-cell:last-child, .table .admin-report-table-header:last-child { - width: 80%; text-align: right; } } @@ -102,6 +101,10 @@ .admin-report-table-header.topic_title { width: 80%; } + + .admin-report-table-cell.number { + width: 6ch; + } } .admin-report.trending-search { @@ -116,6 +119,16 @@ .admin-report-table-cell.term { @include ellipsis; } + + .admin-report-table-cell.percent { + width: 5ch; + text-align: right; + } + + .admin-report-table-cell.number.searches { + width: 6ch; + text-align: right; + } } .admin-report.moderators-activity { diff --git a/frontend/discourse/admin/components/admin-report-table-header.gjs b/frontend/discourse/admin/components/admin-report-table-header.gjs index 27849ec732c..f4386a542b8 100644 --- a/frontend/discourse/admin/components/admin-report-table-header.gjs +++ b/frontend/discourse/admin/components/admin-report-table-header.gjs @@ -49,7 +49,7 @@ export default class AdminReportTableHeader extends Component { @icon={{this.sortIcon}} @translatedLabel={{unless @label.htmlTitle @label.title}} @translatedTitle={{this.sortButtonTitle}} - class="btn-primary btn-transparent sort-btn" + class="btn-transparent --primary sort-btn" > {{#if @label.htmlTitle}} {{htmlSafe @label.htmlTitle}}