mirror of
https://github.com/discourse/discourse.git
synced 2026-08-07 03:35:32 -05:00
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:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user