Skip to content

Commit

Permalink
Allow hyphenation
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelmeister committed Jun 19, 2023
1 parent f06398b commit 826c607
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
7 changes: 4 additions & 3 deletions print/components/PicassoChunk.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@
</template>

<template #event="{ event }">
<div class="tw-float-left tw-font-weight-medium tw-tabular-nums">
<div class="tw-float-left tw-font-weight-medium tw-tabular-nums tw-font-medium">
<!-- link jumps to first instance of scheduleEntry within the document -->
<a
:href="`#scheduleEntry_${event.id}`"
:style="{ color: getActivityTextColor(event) }"
>
({{ event.number }})&nbsp; {{ event.activity().category().short }}:&nbsp;
{{ event.number }} {{ event.activity().category().short }}:
{{ event.activity().title }}
</a>
</div>
Expand Down Expand Up @@ -294,7 +294,8 @@ $landscape-scale: calc(#{$portrait-content-height} / #{$portrait-content-width})
.v-calendar .v-event-timed {
font-size: 0.8em;
padding: 0 1px;
hyphens: auto;
white-space: normal;
overflow-wrap: break-word;
overflow-y: hidden;
Expand Down
7 changes: 7 additions & 0 deletions print/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ export default {
camp: null,
}
},
head() {
return {
htmlAttrs: {
lang: this.$i18n.locale,
},
}
},
async fetch() {
const query = this.$route.query
this.config = JSON.parse(query.config || '{}')
Expand Down

0 comments on commit 826c607

Please sign in to comment.