Stabilize hero stat layout
This commit is contained in:
@@ -99,11 +99,29 @@ const ageS = computed(() => {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(7, 1fr);
|
||||
gap: 12px;
|
||||
align-items: stretch;
|
||||
}
|
||||
.cell {
|
||||
min-height: 74px;
|
||||
display: grid;
|
||||
grid-template-rows: 34px 1fr;
|
||||
align-content: start;
|
||||
}
|
||||
.cell .label {
|
||||
min-height: 34px;
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
line-height: 1.25;
|
||||
overflow: hidden;
|
||||
}
|
||||
.cell .value {
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
margin-top: 4px;
|
||||
margin-top: 6px;
|
||||
min-height: 28px;
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
white-space: nowrap;
|
||||
}
|
||||
@media (max-width: 800px) {
|
||||
.hero { grid-template-columns: 1fr; }
|
||||
|
||||
Reference in New Issue
Block a user