moonming commented on PR #2063:
URL: https://github.com/apache/apisix-website/pull/2063#issuecomment-4805988860

   Added a second commit: reserve a fixed 100×40 `object-fit: contain` box for 
the **Showcase** user-logo wall (+ matching `width`/`height` attrs) so the 
variable-aspect logos no longer cause layout shift, without distortion.
   
   **Plugin Hub logos left intentionally:** they use a `250×180` max and are 
dynamically sourced (variable aspect), so a correct CLS fix means box-reserving 
250×180 — which would balloon small logos with whitespace and visibly change 
the hub just reworked in #2061. Not worth it for below-the-fold, lazy-loaded 
images; flagging for a deliberate design pass if desired.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to