Files
blitzkit/packages/website/src/components/PerformanceTable/index.module.css
T

40 lines
600 B
CSS
Raw Normal View History

.value {
white-space: nowrap;
}
.value-skeleton {
width: 100%;
}
.tank {
display: flex;
align-items: center;
gap: var(--space-2);
white-space: nowrap;
.icon {
flex-shrink: 0;
/* Bleeds into the cell's padding so rows stay as tall as their text */
height: calc(1em + 2 * var(--space-3));
margin: calc(-1 * var(--space-3)) 0;
aspect-ratio: 4 / 3;
object-fit: cover;
}
.glyph {
flex-shrink: 0;
width: 1em;
height: 1em;
}
.name {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
}
}
.tank-skeleton {
width: 100%;
}