Fixed the centering of the Select-Roll circles in TagTeamDialog. Fixed so that damage formulas that are just a modifier don't get a prefix '+' rendered (#1955)

This commit is contained in:
WBHarry 2026-05-31 19:54:42 +02:00 committed by GitHub
parent 3fbc1e97c6
commit 3eb33a71af
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -194,6 +194,7 @@
.roll-selection-container { .roll-selection-container {
display: flex; display: flex;
gap: 16px;
.select-roll-button { .select-roll-button {
margin-top: 8px; margin-top: 8px;

View file

@ -16,7 +16,7 @@
{{/unless}} {{/unless}}
{{/each}} {{/each}}
{{#if part.modifierTotal}} {{#if part.modifierTotal}}
<span class="roll-operator">{{#if (gte part.modifierTotal 0)}}+{{else}}-{{/if}}</span> {{#if part.dice.length}}<span class="roll-operator">{{#if (gte part.modifierTotal 0)}}+{{else}}-{{/if}}</span>{{/if}}
<span class="roll-value">{{positive part.modifierTotal}}</span> <span class="roll-value">{{positive part.modifierTotal}}</span>
{{/if}} {{/if}}
</div> </div>