Rename .talent--maxed to .talent--disabled-with-points

This commit is contained in:
Melvin Valster
2019-07-25 10:01:17 +02:00
parent 7b51daa3d7
commit 978b35742c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -19,7 +19,7 @@
}
}
&--maxed {
&--disabled-with-points {
.talent__status::after {
box-shadow: inset 0px 0px 6px 3px rgba($color-yellow, .8);
}
+1 -1
View File
@@ -26,7 +26,7 @@ export const TalentSlot: FC<Props> = (props) => {
const containerClassNames = classNames('talent', {
'talent--disabled': disabled && points === 0,
'talent--available': !disabled && points < talent.ranks.length,
'talent--maxed': points >= talent.ranks.length || (points > 0 && disabled)
'talent--disabled-with-points': points >= talent.ranks.length || (points > 0 && disabled)
})
const pointsClassNames = classNames('point-label', {