mirror of
https://github.com/discourse/discourse.git
synced 2025-03-28 14:35:42 +08:00
FIX: improves moderation tab on mobile (#6122)
This commit is contained in:
parent
4698cccbcf
commit
d75d1f0b51
@ -125,3 +125,77 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.admin-report.activity-metrics {
|
||||||
|
table {
|
||||||
|
table-layout: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.admin-report.users-by-type {
|
||||||
|
margin-top: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.admin-report.users-by-type,
|
||||||
|
.admin-report.users-by-trust-level {
|
||||||
|
margin-bottom: 1em;
|
||||||
|
flex: 1;
|
||||||
|
.report-header {
|
||||||
|
border-bottom: 1px solid $primary-medium;
|
||||||
|
padding-bottom: 0.5em;
|
||||||
|
border-bottom: 1px solid #e9e9e9;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.admin-report.moderators-activity {
|
||||||
|
tbody tr td.username,
|
||||||
|
thead tr th.username {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.admin-report.trending-search {
|
||||||
|
tbody tr td.term,
|
||||||
|
thead tr th.term {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.admin-report.top-traffic-sources {
|
||||||
|
tbody tr td.domain,
|
||||||
|
thead tr th.domain {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.admin-report.post-edits {
|
||||||
|
.admin-report-table {
|
||||||
|
table-layout: auto;
|
||||||
|
|
||||||
|
tbody tr td,
|
||||||
|
thead tr th {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
thead tr th.edit_reason,
|
||||||
|
tbody tr td.edit_reason {
|
||||||
|
width: 60%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.admin-report.flags-status {
|
||||||
|
.admin-report-table {
|
||||||
|
table-layout: auto;
|
||||||
|
|
||||||
|
tbody tr td,
|
||||||
|
thead tr th {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
tbody tr td.response_time,
|
||||||
|
thead tr th.response_time {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -452,80 +452,6 @@
|
|||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.admin-report.activity-metrics {
|
|
||||||
table {
|
|
||||||
table-layout: auto;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.admin-report.users-by-type {
|
|
||||||
margin-top: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.admin-report.users-by-type,
|
|
||||||
.admin-report.users-by-trust-level {
|
|
||||||
margin-bottom: 1em;
|
|
||||||
flex: 1;
|
|
||||||
.report-header {
|
|
||||||
border-bottom: 1px solid $primary-medium;
|
|
||||||
padding-bottom: 0.5em;
|
|
||||||
border-bottom: 1px solid #e9e9e9;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.admin-report.moderators-activity {
|
|
||||||
tbody tr td.username,
|
|
||||||
thead tr th.username {
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.admin-report.trending-search {
|
|
||||||
tbody tr td.term,
|
|
||||||
thead tr th.term {
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.admin-report.top-traffic-sources {
|
|
||||||
tbody tr td.domain,
|
|
||||||
thead tr th.domain {
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.admin-report.post-edits {
|
|
||||||
.admin-report-table {
|
|
||||||
table-layout: auto;
|
|
||||||
|
|
||||||
tbody tr td,
|
|
||||||
thead tr th {
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
thead tr th.edit_reason,
|
|
||||||
tbody tr td.edit_reason {
|
|
||||||
width: 60%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.admin-report.flags-status {
|
|
||||||
.admin-report-table {
|
|
||||||
table-layout: auto;
|
|
||||||
|
|
||||||
tbody tr td,
|
|
||||||
thead tr th {
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
tbody tr td.response_time,
|
|
||||||
thead tr th.response_time {
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.dashboard-next.moderation {
|
.dashboard-next.moderation {
|
||||||
.admin-dashboard-moderation-top {
|
.admin-dashboard-moderation-top {
|
||||||
display: grid;
|
display: grid;
|
||||||
|
@ -22,6 +22,8 @@
|
|||||||
@import "mobile/ring";
|
@import "mobile/ring";
|
||||||
@import "mobile/group";
|
@import "mobile/group";
|
||||||
@import "mobile/groups";
|
@import "mobile/groups";
|
||||||
|
@import "mobile/admin_report";
|
||||||
|
@import "mobile/admin_report_table";
|
||||||
|
|
||||||
// Import all component-specific files
|
// Import all component-specific files
|
||||||
@import "mobile/components/*";
|
@import "mobile/components/*";
|
||||||
|
10
app/assets/stylesheets/mobile/admin_report.scss
Normal file
10
app/assets/stylesheets/mobile/admin_report.scss
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
.admin-report.post-edits {
|
||||||
|
.admin-report-table {
|
||||||
|
.report-table {
|
||||||
|
thead tr th.edit_reason,
|
||||||
|
tbody tr td.edit_reason {
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
14
app/assets/stylesheets/mobile/admin_report_table.scss
Normal file
14
app/assets/stylesheets/mobile/admin_report_table.scss
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
.admin-report-table {
|
||||||
|
.report-table {
|
||||||
|
table-layout: fixed;
|
||||||
|
|
||||||
|
thead tr th {
|
||||||
|
font-weight: normal;
|
||||||
|
font-size: $font-down-2;
|
||||||
|
white-space: unset;
|
||||||
|
.sort-button {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user