Skip to content

Commit

Permalink
Merge pull request #6012 from BacLuc/fix-wrap-print
Browse files Browse the repository at this point in the history
print: only wrap the article
  • Loading branch information
BacLuc authored Sep 27, 2024
2 parents c1c68ef + 909f05f commit 08a4e3c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions print/components/scheduleEntry/contentNode/Material.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,12 @@
<content-node-content :content-node="contentNode" :icon-path="mdiPackageVariant">
<generic-error-message v-if="error" :error="error" />
<table v-else>
<tr
v-for="item in items"
:key="item.id"
class="item tw-tabular-nums tw-break-anywhere"
>
<tr v-for="item in items" :key="item.id" class="item tw-tabular-nums">
<td align="right">
{{ item.quantity }}
</td>
<td>{{ item.unit || (item.quantity && '×') }}</td>
<td width="65%">
<td width="65%" class="tw-break-anywhere">
{{ item.article }}
</td>
<td width="30%">
Expand Down

0 comments on commit 08a4e3c

Please sign in to comment.