fix/binary-assets-checkout-layout
Dev — Build & local smoke test / build-smoke (pull_request) Successful in 1m34s
el_runtime: http_response() JSON-encoded the body via jb_emit_escaped(), which stops at the first null byte. PNG/binary files contain null bytes at byte 8 (IHDR chunk length), so only 8 bytes were served — browsers received a corrupt/truncated image and showed broken icons. Fix: when _tl_fs_read_len > 0 (binary fs_read), copy raw bytes into a thread-local side-channel (_tl_binary_body/_tl_binary_size) and write the sentinel "__el_binary__" into the envelope body field. http_send_response() detects the sentinel and substitutes the real bytes for sending. checkout.el: .checkout-shell, .checkout-summary, and .checkout-form-wrap had no CSS, leaving the page left-aligned and single-column. Added grid layout (2-col desktop, 1-col mobile), max-width centering, and sticky order summary.
Description
Neuron marketing site - El-native server
9.7 MiB
Languages
Emacs Lisp
47.1%
C
34.7%
HTML
7.5%
TypeScript
5.4%
JavaScript
2.4%
Other
2.9%