kate522 and Claude Opus 5
8e74b60570
fix(navigation): let CSS size the nav logo and drop the inline width cap
...
The navbar logo carried an inline `height:36px;width:auto;max-width:{logo_width}px`
while `.navbar-logo > img` already owns `height:36px;padding:0 30px`. Under
`box-sizing:border-box` that max-width capped the border box, so the 60px of
horizontal padding stayed inside it and wide logos were squeezed against a
fixed height, breaking the intrinsic aspect ratio.
- Render the nav logo with no inline sizing; CSS alone sizes it.
- Add a `$lazy` argument to jio_get_adaptive_theme_img() so the navbar can emit
the real src up front instead of a square lazyload placeholder; defaults to
'auto' so every other caller keeps the lazy_other behaviour.
- Remove the superseded logo_width plumbing: the setting (PHP + VUE schemas),
Settings::logo_width(), jio_get_site_logo_width(), the --jio-logo-width token
and the unused has_logo context key.
- Cover the contract in the header reference test.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com >
2026-11-05 17:50:56 +08:00
..
2026-10-29 20:31:39 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-03 16:36:45 +08:00
2026-11-03 16:36:45 +08:00
2026-11-01 20:05:04 +08:00
2026-11-04 16:51:41 +08:00
2026-11-03 16:58:05 +08:00
2026-11-03 16:58:05 +08:00
2026-11-02 00:06:54 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-02 00:06:54 +08:00
2026-08-29 15:50:04 +08:00
2026-09-24 21:13:24 +08:00
2026-11-03 23:31:28 +08:00
2026-11-01 20:05:04 +08:00
2026-08-30 20:38:25 +08:00
2026-11-02 00:06:54 +08:00
2026-11-03 17:31:42 +08:00
2026-11-01 20:05:04 +08:00
2026-10-29 19:16:03 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-02 00:06:54 +08:00
2026-11-02 00:06:54 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-10-30 21:57:46 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-04 16:04:24 +08:00
2026-11-01 20:05:04 +08:00
2026-11-04 16:51:41 +08:00
2026-11-04 16:51:41 +08:00
2026-10-29 22:21:01 +08:00
2026-11-02 00:06:54 +08:00
2026-11-05 10:51:36 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-02 00:06:54 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-10-31 14:18:01 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-02 00:06:54 +08:00
2026-11-01 20:05:04 +08:00
2026-11-04 17:41:48 +08:00
2026-11-04 18:33:37 +08:00
2026-11-01 20:05:04 +08:00
2026-11-02 00:06:54 +08:00
2026-11-02 14:06:52 +08:00
2026-11-02 00:06:54 +08:00
2026-10-31 14:03:57 +08:00
2026-11-02 00:06:54 +08:00
2026-11-04 19:37:56 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-02 00:06:54 +08:00
2026-11-02 00:06:54 +08:00
2026-11-01 20:05:04 +08:00
2026-11-05 17:50:56 +08:00
2026-11-03 23:31:28 +08:00
2026-11-02 00:06:54 +08:00
2026-11-02 00:06:54 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-02 00:06:54 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-02 00:06:54 +08:00
2026-11-01 20:05:04 +08:00
2026-11-02 00:06:54 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-02 19:50:24 +08:00
2026-11-02 19:50:24 +08:00
2026-11-02 00:06:54 +08:00
2026-09-04 22:53:33 +08:00
2026-10-29 19:16:03 +08:00
2026-11-04 16:04:24 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-03 16:09:46 +08:00
2026-11-03 15:56:52 +08:00
2026-11-02 00:06:54 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-02 00:06:54 +08:00
2026-11-01 20:05:04 +08:00
2026-11-03 16:48:38 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-02 00:06:54 +08:00
2026-11-01 20:05:04 +08:00
2026-11-02 00:06:54 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-02 00:06:54 +08:00
2026-11-02 00:06:54 +08:00
2026-11-01 20:05:04 +08:00
2026-11-04 17:27:51 +08:00
2026-11-04 17:17:49 +08:00
2026-11-01 20:05:04 +08:00
2026-11-02 00:06:54 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-02 00:06:54 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-02 00:06:54 +08:00
2026-11-02 00:06:54 +08:00
2026-11-02 14:06:52 +08:00
2026-11-02 00:06:54 +08:00
2026-11-01 20:05:04 +08:00
2026-11-01 20:05:04 +08:00
2026-11-03 15:56:52 +08:00