diff --git a/module/applications/dialogs/downtime.mjs b/module/applications/dialogs/downtime.mjs index 7911ecb9..756918df 100644 --- a/module/applications/dialogs/downtime.mjs +++ b/module/applications/dialogs/downtime.mjs @@ -139,6 +139,10 @@ export default class DhpDowntime extends HandlebarsApplicationMixin(ApplicationV moves: moves, actor: this.actor.uuid }, + speaker: cls.getSpeaker(), + title: game.i18n.localize( + `DAGGERHEART.APPLICATIONS.Downtime.${this.shortrest ? 'shortRest' : 'longRest'}.title` + ), content: await foundry.applications.handlebars.renderTemplate( 'systems/daggerheart/templates/ui/chat/downtime.hbs', { diff --git a/styles/less/global/chat.less b/styles/less/global/chat.less index 7008855f..11aaf92c 100644 --- a/styles/less/global/chat.less +++ b/styles/less/global/chat.less @@ -18,10 +18,12 @@ background-image: url('../assets/parchments/dh-parchment-dark.png'); .message-header { + display: flex; + gap: 4px; padding: 0 8px 8px; - .message-header-section { - width: 100%; + .message-header-metadata { + flex: none; display: flex; .message-metadata { @@ -29,13 +31,12 @@ } } - .message-sub-header { - width: 100%; + .message-header-main { + flex: 1; display: flex; gap: 8px; .actor-img { - flex: none; border-radius: 50%; width: 60px; height: 60px; diff --git a/templates/ui/chat/chat-message.hbs b/templates/ui/chat/chat-message.hbs index b2a6c7e9..d275a137 100644 --- a/templates/ui/chat/chat-message.hbs +++ b/templates/ui/chat/chat-message.hbs @@ -1,14 +1,14 @@
  • -
    +

    {{ifThen message.title message.title alias}}

    {{actor.name}}
    -
    +