domains / / ogulcancelik/herdr
Consistent UI formatting
When formatting UI text for alignment (padding/truncation like `{position: When formatting UI text for alignment (padding/truncation like How to apply: Example (consistent padding):{position:<N}), keep the visual rules consistent across all related components and validate against the actual available width. If the change would alter the product’s visual language/layout rules (e.g., needing new rules to display a dot for 100+), treat it as a design/discussion item rather than bundling it into a narrowly scoped fix.
{position:<2}, other lists that render the same “position” should use the same convention).// Keep the same position formatting convention used by other lists.
Span::styled(format!("{:<2}", visible_idx + 1), num_style)