diff.css 692 B

1234567891011121314151617181920212223242526
  1. [data-component="diff"] {
  2. [data-slot="diff-hunk-separator-line-number"] {
  3. position: sticky;
  4. left: 0;
  5. background-color: var(--surface-diff-hidden-strong);
  6. z-index: 2;
  7. display: flex;
  8. align-items: center;
  9. justify-content: center;
  10. [data-slot="diff-hunk-separator-line-number-icon"] {
  11. aspect-ratio: 1;
  12. width: 24px;
  13. height: 24px;
  14. color: var(--icon-strong-base);
  15. }
  16. }
  17. [data-slot="diff-hunk-separator-content"] {
  18. position: sticky;
  19. background-color: var(--surface-diff-hidden-base);
  20. color: var(--text-base);
  21. width: var(--pjs-column-content-width);
  22. left: var(--pjs-column-number-width);
  23. padding-left: 8px;
  24. }
  25. }