Commit 1d5f661
committed
Bugfix: Align Size column icons flush with cell right edge
- Switch `.col-size` from `text-align: right` to flex with `justify-content: flex-end` and `gap: var(--spacing-xxs)`
- Wrap the size-triad spans in a single `.size-text` span so whitespace text nodes Svelte emits between `{/each}` and the `{#if}` icon blocks stop stealing pixels from the cell (whitespace-only anonymous flex items are `display: none` per the flexbox spec)
- Drop `margin-left` / `vertical-align` from `.size-stale` and `.size-mismatch`; flex `gap` and `align-items: center` now handle spacing1 parent 00c7901 commit 1d5f661
1 file changed
Lines changed: 20 additions & 11 deletions
Lines changed: 20 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
593 | 593 | | |
594 | 594 | | |
595 | 595 | | |
596 | | - | |
597 | | - | |
598 | | - | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
599 | 601 | | |
600 | 602 | | |
601 | 603 | | |
| |||
631 | 633 | | |
632 | 634 | | |
633 | 635 | | |
634 | | - | |
635 | | - | |
636 | | - | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
637 | 641 | | |
638 | 642 | | |
639 | 643 | | |
| |||
755 | 759 | | |
756 | 760 | | |
757 | 761 | | |
758 | | - | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
759 | 766 | | |
760 | 767 | | |
761 | 768 | | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
762 | 775 | | |
763 | 776 | | |
764 | 777 | | |
| |||
771 | 784 | | |
772 | 785 | | |
773 | 786 | | |
774 | | - | |
775 | | - | |
776 | 787 | | |
777 | 788 | | |
778 | 789 | | |
779 | 790 | | |
780 | 791 | | |
781 | 792 | | |
782 | | - | |
783 | | - | |
784 | 793 | | |
785 | 794 | | |
786 | 795 | | |
| |||
0 commit comments