Skip to content

Commit

Permalink
fix(spoolman): break long comments & support multiline comments (#1781)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdziekon authored Feb 17, 2024
1 parent 20de6be commit eaaa19b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/dialogs/SpoolmanChangeSpoolDialogRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</template>
<template v-if="spool.comment">
<br />
<small>{{ spool.comment }}</small>
<small class="comment">{{ spool.comment }}</small>
</template>
</v-list-item-title>
</v-list-item-content>
Expand Down Expand Up @@ -131,4 +131,9 @@ export default class SpoolmanChangeSpoolDialogRow extends Mixins(BaseMixin) {
.no--padding {
padding: 0;
}
.comment {
white-space: pre-wrap;
overflow-wrap: anywhere;
}
</style>

0 comments on commit eaaa19b

Please sign in to comment.