UX: minor tweaks to table columns (#37845)

https://meta.discourse.org/t/invisible-button-text-layout-misalignment-on-horizon-theme/396180

This area will be reworked more extensively soon, so this commit is just
a small bandaid to improve it in the meantime.
This commit is contained in:
chapoi
2026-02-16 17:21:02 +01:00
committed by GitHub
parent e51153185f
commit ced45ec71e
2 changed files with 15 additions and 2 deletions
@@ -9,7 +9,6 @@
.table .admin-report-table-cell:last-child, .table .admin-report-table-cell:last-child,
.table .admin-report-table-header:last-child { .table .admin-report-table-header:last-child {
width: 80%;
text-align: right; text-align: right;
} }
} }
@@ -102,6 +101,10 @@
.admin-report-table-header.topic_title { .admin-report-table-header.topic_title {
width: 80%; width: 80%;
} }
.admin-report-table-cell.number {
width: 6ch;
}
} }
.admin-report.trending-search { .admin-report.trending-search {
@@ -116,6 +119,16 @@
.admin-report-table-cell.term { .admin-report-table-cell.term {
@include ellipsis; @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 { .admin-report.moderators-activity {
@@ -49,7 +49,7 @@ export default class AdminReportTableHeader extends Component {
@icon={{this.sortIcon}} @icon={{this.sortIcon}}
@translatedLabel={{unless @label.htmlTitle @label.title}} @translatedLabel={{unless @label.htmlTitle @label.title}}
@translatedTitle={{this.sortButtonTitle}} @translatedTitle={{this.sortButtonTitle}}
class="btn-primary btn-transparent sort-btn" class="btn-transparent --primary sort-btn"
> >
{{#if @label.htmlTitle}} {{#if @label.htmlTitle}}
<span class="d-button-label">{{htmlSafe @label.htmlTitle}}</span> <span class="d-button-label">{{htmlSafe @label.htmlTitle}}</span>