mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-15 13:11:08 +01:00
Fixed so enriched buttons are inline by default. Can be set to 'inline:true' to make them fit with the text better (#1068)
This commit is contained in:
parent
f76515eac1
commit
936c96a1be
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