mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-08-24 12:06:54 -05:00
Align stat card values
This commit is contained in:
@@ -713,7 +713,7 @@ function StatCard({
|
||||
|
||||
return (
|
||||
<div className="analyzer__stat-card">
|
||||
<div>
|
||||
<div className="analyzer__stat-card__title-and-value-container">
|
||||
<h3 className="analyzer__stat-card__title">
|
||||
{title}{" "}
|
||||
{popoverInfo && (
|
||||
|
||||
@@ -87,8 +87,16 @@
|
||||
gap: var(--s-4);
|
||||
}
|
||||
|
||||
.analyzer__stat-card__title-and-value-container {
|
||||
display: flex;
|
||||
height: 100%;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.analyzer__stat-card__title {
|
||||
font-size: var(--fonts-xs);
|
||||
line-height: 1.35;
|
||||
text-align: center;
|
||||
word-break: break-word;
|
||||
}
|
||||
@@ -112,6 +120,7 @@
|
||||
.analyzer__stat-card-values {
|
||||
display: flex;
|
||||
justify-content: space-evenly;
|
||||
margin-top: var(--s-2);
|
||||
gap: var(--s-1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user