diff --git a/src/views/reports/components/ModerateUserDropdown.vue b/src/views/reports/components/ModerateUserDropdown.vue index 3d5618f1..6c93ca82 100644 --- a/src/views/reports/components/ModerateUserDropdown.vue +++ b/src/views/reports/components/ModerateUserDropdown.vue @@ -1,6 +1,6 @@ @@ -46,6 +58,9 @@ export default { name: 'ReportsShow', components: { ModerateUserDropdown, RebootButton, ReportContent }, computed: { + isMobile() { + return this.$store.state.app.device === 'mobile' + }, loading() { return this.$store.state.reports.loadingSingleReport }, @@ -94,11 +109,19 @@ export default { margin: 0 15px 22px 15px; } .report { - width: 1000px; + max-width: 1000px; margin: auto; } .report-actions-button { - margin: 3px 0 6px; + margin: 0 5px; + } + .report-actions-container { + display: flex; + flex-wrap: wrap; + } + .report-card-container { + margin: auto; + padding: 0 15px; } .report-page-header { display: flex; @@ -139,4 +162,36 @@ export default { font-size: 14px; } } +@media only screen and (max-width:480px) { + .report-show-page-container { + .id { + margin: 7px 15px 15px 15px; + } + .report-actions-button { + margin: 0 3px 6px; + } + .report-page-header-container { + flex-direction: column; + align-items: flex-start; + } + .report-page-header { + h1 { + font-size: 24px; + } + .avatar-name-container { + .el-icon-top-right { + font-size: 24px; + } + } + .report-page-avatar { + margin: 0 5px 0 9px; + } + } + .report-tag { + height: 32px; + line-height: 32px; + font-size: 14px; + } + } +}