feat: max size for logos, no tiny branding#1121
Conversation
ⓘ You are approaching your monthly quota for Qodo. Upgrade your plan Review Summary by QodoAdd max-block-size constraint and remove inline SVG dimensions
WalkthroughsDescription• Remove inline width/height constraints from SVG elements • Add max-block-size CSS constraint to prevent oversized logos • Allow logos to scale responsively within 500px maximum Diagramflowchart LR
A["SVG with inline<br/>width/height=1em"] -->|Remove inline<br/>attributes| B["SVG without<br/>inline dimensions"]
B -->|Apply CSS<br/>max-block-size| C["Logo constrained<br/>to 500px max"]
File Changes1. taccsite_cms/templates/snippets/logos-branding.html
|
Code Review by Qodo
1. SVG size becomes default
|
Overview
Greater default size for branding logos (from snippet).
Related
Changes
Testing
Dimensions of branding logos (from snippet) are constrained by their parent container or their max block size (500px).
UI