mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-20 00:27:02 +01:00
Fixed so enriched buttons are inline by default. Can be set to 'inline:true' to make them fit with the text better
This commit is contained in:
parent
b83adbf09b
commit
85a7365191
5 changed files with 30 additions and 7 deletions
|
|
@ -36,7 +36,7 @@ function getDualityMessage(roll, flavor) {
|
|||
|
||||
const dualityElement = document.createElement('span');
|
||||
dualityElement.innerHTML = `
|
||||
<button class="duality-roll-button"
|
||||
<button class="duality-roll-button${roll.inline ? ' inline' : ''}"
|
||||
data-title="${label}"
|
||||
data-label="${dataLabel}"
|
||||
data-reaction="${roll.reaction ? 'true' : 'false'}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue