[Fix] 397 - Reroll Improvements (#400)

* Fixed reroll correcting automation hope/fear/stress

* Fixed advantage/disadvantage reroll counting on d20s
This commit is contained in:
WBHarry 2025-07-25 00:06:41 +02:00 committed by GitHub
parent e8e328039e
commit 80744381f5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 86 additions and 7 deletions

View file

@ -62,6 +62,17 @@
}
&.rerollable {
position: relative;
flex: none;
.dice-rerolled {
z-index: 2;
position: absolute;
right: 0;
font-size: 12px;
cursor: help;
}
.reroll-button {
border: none;
background: initial;
@ -85,12 +96,21 @@
display: flex;
flex-direction: column;
gap: 2px;
position: relative;
.dice-title {
color: var(--color-light-1);
text-shadow: 0 0 1px black;
}
.dice-rerolled {
z-index: 2;
position: absolute;
right: -2px;
font-size: 12px;
cursor: help;
}
.dice-inner-container {
display: flex;
align-items: center;