From e135c4134efad679851659bcab5757f15023e7ba Mon Sep 17 00:00:00 2001 From: WBHarry Date: Tue, 27 May 2025 13:53:57 +0200 Subject: [PATCH] Fixed broken attack-roll damage button --- styles/chat.less | 9 +++++++++ styles/daggerheart.css | 7 +++++++ templates/chat/attack-roll.hbs | 4 ++-- 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/styles/chat.less b/styles/chat.less index fede0209..e6bb20c2 100644 --- a/styles/chat.less +++ b/styles/chat.less @@ -497,6 +497,15 @@ margin-top: 5px; } } + + .dice-actions { + margin-top: 5px; + display: flex; + + button { + flex: 1; + } + } } &.domain-card { diff --git a/styles/daggerheart.css b/styles/daggerheart.css index 1b9384f0..e67b05ed 100755 --- a/styles/daggerheart.css +++ b/styles/daggerheart.css @@ -1728,6 +1728,13 @@ .daggerheart.chat.roll .dice-result .damage-button { margin-top: 5px; } +.daggerheart.chat.roll .dice-actions { + margin-top: 5px; + display: flex; +} +.daggerheart.chat.roll .dice-actions button { + flex: 1; +} .daggerheart.chat.domain-card { display: flex; flex-direction: column; diff --git a/templates/chat/attack-roll.hbs b/templates/chat/attack-roll.hbs index fed85da8..ccc93087 100644 --- a/templates/chat/attack-roll.hbs +++ b/templates/chat/attack-roll.hbs @@ -163,8 +163,8 @@ {{/each}} {{/if}} -
- +
+