Stat Card values should be on the same line

This commit is contained in:
[Halp!]Pat 2022-10-05 10:18:08 -07:00
parent adde24db50
commit 469439eec2
2 changed files with 10 additions and 3 deletions

View File

@ -772,9 +772,11 @@ function StatCard({
)}
</div>
</div>
{typeof stat !== "number" && (
<ModifiedByAbilities abilities={stat.modifiedBy} />
)}
<div className="analyzer__stat-card__ability-container">
{typeof stat !== "number" && (
<ModifiedByAbilities abilities={stat.modifiedBy} />
)}
</div>
</div>
);
}

View File

@ -91,6 +91,7 @@
display: flex;
height: 100%;
flex-direction: column;
flex-grow: 1;
justify-content: space-between;
}
@ -101,6 +102,10 @@
word-break: break-word;
}
.analyzer__stat-card__ability-container {
min-height: 22px;
}
.analyzer__stat-card__popover {
display: inline;
}