Skip to content

Commit

Permalink
Merge pull request #171 from marzmehr/SS-746
Browse files Browse the repository at this point in the history
fixing pdf report margins
  • Loading branch information
marzmehr committed May 7, 2023
2 parents 788feeb + 5fb5cad commit 467f0f7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion web/src/components/ShiftSchedule/DistributeSchedule.vue
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
teamMembers: distributeTeamMemberInfoType[] = [];
fields = [
{key:'myteam', label:'Name', tdClass:'px-1 mx-0 align-middle my-team', thStyle:'text-align: center; font-size: 8pt; width: 11rem;'},
{key:'myteam', label:'Name', tdClass:'px-1 mx-0 align-middle my-team', thStyle:'text-align: center; font-size: 8pt; width: 7.5rem;'},
{key:'Sun', label:'', tdClass:'px-1 mx-0 py-0', thStyle:'text-align: center; font-size: 7pt; width: 6.5rem;'},
{key:'Mon', label:'', tdClass:'px-1 mx-0 py-0', thStyle:'text-align: center; font-size: 7pt; width: 6.5rem;'},
{key:'Tue', label:'', tdClass:'px-1 mx-0 py-0', thStyle:'text-align: center; font-size: 7pt; width: 6.5rem;'},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
<b v-if="duty.isOvertime">*</b>
<b> {{duty.startTime}}-{{duty.endTime}}</b>
<span > {{duty.dutySubType}} </span>
{{ duty.dutyType }}
({{ duty.dutyType.replace('Role','').replace('Assignment','').replace('EscortRun','Transport') }})
</div>
</div>
</template>
Expand Down
2 changes: 1 addition & 1 deletion web/src/filters/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ Vue.filter('printPdf', function(html, pageFooterLeft, pageFooterRight){
`th {border: 3px solid black;}`+
`table.printer td:has(.middle-text){ vertical-align: middle !important;}`+
`td {height: 2.5rem;border: 3px solid; width: 6.5rem;}`+
`td.my-team {height: 2.5rem;border: 3px solid; width: 11rem !important;}`+
`td.my-team {height: 2.5rem;border: 3px solid; width: 7rem !important;}`+
`td.my-notes {height: 2.5rem;border: 3px solid; width: 17rem !important;}`+
`.bg-spl-leave {background-color: #ffee07;}`+
`.bg-a-l-leave {background-color: #007bff;}`+
Expand Down

0 comments on commit 467f0f7

Please sign in to comment.