ntbang0901
50f541fa64
fix(vcs): centre the diff viewer's revert controls ( #2346 )
...
The diff viewer's gutter arrows and the inline Revert button sat off-centre on their change blocks: they used fixed offsets that did not follow the editor's line height or the gutter width. They are now positioned from the editor's metrics and spacing tokens, centred independently of width. Covers modified, multi-line, deletion-only and insertion-only blocks, paired and merge accept controls, font sizes and zoom.
Co-authored-by: ntbang0901 <[email protected] >
2026-11-10 01:24:23 +08:00
..
2026-11-10 01:24:23 +08:00
2026-11-03 23:26:36 +08:00
2026-11-09 01:01:50 +08:00
2026-10-30 19:42:05 +08:00
2026-10-31 07:50:43 +08:00
2026-10-28 19:32:54 +08:00
2026-11-08 20:45:49 +08:00
2026-11-08 21:24:58 +08:00
2026-11-08 22:00:32 +08:00
2026-11-08 22:00:32 +08:00
2026-11-08 22:00:32 +08:00
2026-11-09 07:20:54 +08:00
2026-10-31 07:50:43 +08:00
2026-11-06 12:49:39 +08:00
2026-11-09 01:01:50 +08:00
2026-11-07 16:17:10 +08:00
2026-11-09 01:01:50 +08:00
2026-11-03 23:37:38 +08:00
2026-11-04 08:40:06 +08:00
2026-11-04 08:40:06 +08:00
2026-11-09 20:22:12 +08:00
2026-10-28 21:49:43 +08:00
2026-11-05 02:31:32 +08:00
2026-10-28 21:49:43 +08:00
2026-10-28 21:49:43 +08:00
2026-11-07 16:17:10 +08:00
2026-11-07 16:17:10 +08:00
2026-11-09 01:01:50 +08:00
2026-10-28 21:49:43 +08:00
2026-11-05 20:58:51 +08:00
2026-11-09 01:01:50 +08:00
2026-11-09 20:10:09 +08:00
2026-11-09 01:01:50 +08:00
2026-10-30 15:17:11 +08:00
2026-11-01 15:14:13 +08:00
2026-11-09 01:01:50 +08:00
2026-11-09 01:01:50 +08:00
2026-11-04 12:27:45 +08:00
2026-11-05 22:32:09 +08:00
2026-11-03 23:39:26 +08:00
2026-11-03 23:39:26 +08:00
2026-11-03 23:39:26 +08:00
2026-11-06 12:49:39 +08:00
2026-11-07 10:36:15 +08:00
2026-11-04 12:40:45 +08:00
2026-10-28 19:35:16 +08:00
2026-11-05 14:03:46 +08:00
2026-11-05 14:03:46 +08:00
2026-10-29 19:59:57 +08:00
2026-11-09 20:14:28 +08:00
2026-11-10 01:24:23 +08:00
2026-11-09 17:03:21 +08:00
2026-11-09 01:01:50 +08:00
2026-11-03 23:41:16 +08:00
2026-10-31 07:50:43 +08:00
2026-11-09 17:03:21 +08:00
2026-11-10 01:24:23 +08:00
2026-10-31 07:50:43 +08:00
2026-11-09 01:01:50 +08:00
2026-11-01 15:14:13 +08:00
2026-11-08 22:32:08 +08:00
2026-11-09 01:01:50 +08:00
2026-11-08 21:21:28 +08:00
2026-11-05 02:31:32 +08:00
2026-11-05 02:31:32 +08:00
2026-11-07 10:56:59 +08:00
2026-10-25 09:34:02 +08:00
2026-11-07 10:56:59 +08:00
2026-10-25 09:34:02 +08:00
2026-10-22 18:55:10 +08:00
2026-10-28 12:38:25 +08:00
2026-10-28 19:35:16 +08:00
2026-10-30 15:09:55 +08:00
2026-10-23 23:15:09 +08:00
2026-11-09 07:20:54 +08:00
2026-11-02 12:11:12 +08:00
2026-10-22 18:55:10 +08:00
2026-10-31 07:50:43 +08:00
2026-10-22 18:55:10 +08:00
2026-11-04 10:57:10 +08:00
2026-10-28 19:35:16 +08:00
2026-10-22 18:55:10 +08:00
2026-11-05 02:31:32 +08:00
2026-11-09 01:01:50 +08:00
2026-11-05 02:31:32 +08:00
2026-11-05 02:31:32 +08:00
2026-11-07 00:26:42 +08:00
2026-11-08 20:45:49 +08:00
2026-11-05 12:50:20 +08:00
2026-11-05 02:31:32 +08:00
2026-11-05 02:31:32 +08:00
2026-10-28 21:49:43 +08:00
2026-11-07 00:26:42 +08:00
2026-11-07 10:56:59 +08:00
2026-11-03 23:37:38 +08:00
2026-11-03 23:37:38 +08:00
2026-11-03 23:37:38 +08:00
2026-11-09 01:01:50 +08:00
2026-11-05 21:43:55 +08:00
2026-10-22 18:55:10 +08:00
2026-11-03 23:37:38 +08:00
2026-11-03 23:37:38 +08:00
2026-11-03 23:39:26 +08:00
2026-11-03 23:39:26 +08:00
2026-11-02 14:58:23 +08:00
2026-11-03 23:37:38 +08:00
2026-10-29 23:21:56 +08:00
2026-11-03 23:26:36 +08:00
2026-11-07 10:37:24 +08:00
2026-11-09 01:01:50 +08:00
2026-11-09 20:10:09 +08:00
2026-11-09 17:51:48 +08:00
2026-11-05 02:31:32 +08:00
2026-11-05 08:57:19 +08:00
2026-11-09 20:10:09 +08:00
2026-11-09 10:48:39 +08:00
2026-10-28 19:35:16 +08:00
2026-10-25 21:24:00 +08:00
2026-11-09 20:10:09 +08:00
2026-10-28 21:49:43 +08:00
2026-11-03 07:52:55 +08:00
2026-11-04 01:31:10 +08:00
2026-11-05 02:31:32 +08:00
2026-11-01 01:43:15 +08:00
2026-11-05 00:07:44 +08:00
2026-11-05 00:07:44 +08:00
2026-11-05 00:07:44 +08:00
2026-11-09 01:01:50 +08:00
2026-11-06 12:49:39 +08:00
2026-11-05 21:42:08 +08:00
2026-11-08 21:21:28 +08:00
2026-11-08 21:21:28 +08:00