mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-29 11:42:17 +00:00
24 lines
495 B
CSS
24 lines
495 B
CSS
[data-component="rolling-number"] {
|
|
display: inline-flex;
|
|
/* Digits keep numeric order in RTL documents. */
|
|
direction: ltr;
|
|
unicode-bidi: isolate;
|
|
font-variant-numeric: tabular-nums;
|
|
|
|
[data-slot="rolling-number-digit"] {
|
|
display: inline-grid;
|
|
overflow-y: clip;
|
|
}
|
|
|
|
[data-slot="rolling-number-glyph"] {
|
|
grid-area: 1 / 1;
|
|
}
|
|
|
|
[data-slot="rolling-number-glyph"][data-leaving] {
|
|
pointer-events: none;
|
|
|
|
&::before {
|
|
content: attr(data-leaving);
|
|
}
|
|
}
|
|
}
|