Skip to content

Commit

Permalink
prevent horizontal scroll bar on htmlreport when viewed on 'large' sc…
Browse files Browse the repository at this point in the history
…reens
  • Loading branch information
banders authored and goemen committed May 9, 2024
1 parent 797d42c commit 3616cc7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions frontend/src/components/DraftReportPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<v-btn class="btn-secondary" to="/generate-report-form">Back</v-btn>
</v-banner>
<v-row no-gutters justify="center" class="w-100">
<v-col cols="12" sm="11" md="11" lg="8" xl="6">
<v-col cols="12" sm="11" md="11" lg="9" xl="6">
<v-row class="mb-4 d-flex justify-center w-100">
<v-col cols="12" class="w-100">
<ReportStepper />
Expand Down Expand Up @@ -162,7 +162,9 @@ async function tryGenerateReport() {
if (shouldGenerateReport) {
isProcessing.value = true;
try {
const reportData = await ApiService.publishReport(ReportStepperStore.reportId ?? '');
const reportData = await ApiService.publishReport(
ReportStepperStore.reportId ?? '',
);
await ReportStepperStore.setReportInfo(reportData);
NotificationService.pushNotificationSuccess(
'You have created a pay transparency report.',
Expand All @@ -183,7 +185,6 @@ async function downloadPdf(reportId: string | undefined) {
</script>

<style scoped lang="scss">
.back-button-banner {
padding-left: 0;
}
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/PublishedReportPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<v-btn class="btn-secondary" to="/">Back</v-btn>
</v-banner>
<v-row no-gutters justify="center" class="w-100">
<v-col cols="12" sm="11" md="11" lg="8" xl="6">
<v-col cols="12" sm="11" md="11" lg="9" xl="6">
<v-row
v-if="mode != ReportMode.View"
class="mb-4 d-flex justify-center w-100"
Expand Down

0 comments on commit 3616cc7

Please sign in to comment.