diff --git a/module/scripts/illuminated-worlds-roller.mjs b/module/scripts/illuminated-worlds-roller.mjs index c2e0d45..1de7ebc 100644 --- a/module/scripts/illuminated-worlds-roller.mjs +++ b/module/scripts/illuminated-worlds-roller.mjs @@ -191,7 +191,10 @@ class IlluminatedWorldsRoller { getAnnotatedRollResults(r, gildedRollType) { const rolls = []; - if (gildedRollType == "none" || gildedRollType == "with-standard-dice") { + if ( + gildedRollType == "none" || + gildedRollType == "with-standard-dice" + ) { r.terms[0].results.forEach(result => { rolls.push(result); }); diff --git a/module/styles/illuminated-worlds-roller.css b/module/styles/illuminated-worlds-roller.css index 05373de..4d9621b 100644 --- a/module/styles/illuminated-worlds-roller.css +++ b/module/styles/illuminated-worlds-roller.css @@ -14,7 +14,7 @@ list-style: none; } * .illuminated-worlds-die-tooltip .dialog-buttons { - margin-top: 5px; + margin-top: 5px; } * .illuminated-worlds-die-tooltip textarea { margin-top: 10px; @@ -215,18 +215,22 @@ * .illuminated-worlds-die-tooltip .die.failure { color: red; } -* .dice-tooltip.illuminated-worlds-die-tooltip .dice-rolls .roll.die.illuminated-worlds-d6.black { +* + .dice-tooltip.illuminated-worlds-die-tooltip + .dice-rolls + .roll.die.illuminated-worlds-d6.black { background-image: url(../icons/d6-black.svg) !important; color: var(--almostwhite); &.gilded { background-image: url(../icons/d6-black-gilded.svg) !important; } } -* .dice-tooltip.illuminated-worlds-die-tooltip .dice-rolls .roll.die.illuminated-worlds-d6.gray { +* + .dice-tooltip.illuminated-worlds-die-tooltip + .dice-rolls + .roll.die.illuminated-worlds-d6.gray { background-image: url(../icons/d6-grey.svg) !important; &.gilded { background-image: url(../icons/d6-grey-gilded.svg) !important; } } - -