diff options
| author | Craig Jennings <c@cjennings.net> | 2026-07-03 05:22:57 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-07-03 05:22:57 -0400 |
| commit | efc1b1101a524c6a23bcb8ba828b3cf36c81040c (patch) | |
| tree | 6f0a9344944e57d223c1288ebd2e5eb1e28bd010 /modules/prog-python.el | |
| parent | 298e24aa8a0fdd88d2ae8ecb514b3e18b2b4bb5b (diff) | |
| download | dotemacs-efc1b1101a524c6a23bcb8ba828b3cf36c81040c.tar.gz dotemacs-efc1b1101a524c6a23bcb8ba828b3cf36c81040c.zip | |
fix(modeline): pin padding height to the frame, not the buffer
The leading modeline space set its height with a display (height 1.15) property, which scales against the buffer's default face. nov-mode's reading view remaps default to 18pt, so there the padding grew to 1.15x that and the bar rendered far taller than normal. The theme's absolute mode-line height couldn't help, since the padding space drives the strip height, not the face.
The padding now uses an absolute integer height anchored to the frame's default face, so a buffer that enlarges its own default (nov, text-scale) no longer inflates the bar. Normal buffers are unchanged, and the nov bar matches them.
Diffstat (limited to 'modules/prog-python.el')
0 files changed, 0 insertions, 0 deletions
