mirror of
https://github.com/tabler/tabler.git
synced 2026-08-02 16:34:38 +04:00
32 lines
398 B
SCSS
32 lines
398 B
SCSS
.sparkline {
|
|
position: relative;
|
|
width: 4rem;
|
|
height: 2.5rem;
|
|
line-height: 1;
|
|
}
|
|
|
|
.sparkline-square {
|
|
width: 2.5rem;
|
|
}
|
|
|
|
.sparkline-wide {
|
|
width: 6rem;
|
|
}
|
|
|
|
.sparkline-label {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: px2rem(11px);
|
|
|
|
.icon {
|
|
width: 1rem;
|
|
height: 1rem;
|
|
}
|
|
}
|