Skip to content

Fix typo in class name from 'objec' to 'object' - #738

Open
sebbASF wants to merge 1 commit into
mainfrom
preview/objec-fit-cover
Open

Fix typo in class name from 'objec' to 'object'#738
sebbASF wants to merge 1 commit into
mainfrom
preview/objec-fit-cover

Conversation

@sebbASF

@sebbASF sebbASF commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

This affects the object-fit setting for project, podlings and sponsor logo images.
The default is fit, which causes images to be stretched to fit if their aspect ratio does not match the container, whereas cover causes clipping [1]

Preview at https://www-objec-fit-cover.staged.apache.org/

Any differences are likely to be quite subtle, but there is no point adding a non-existent class to images.
Either fix the name (as per this PR) or drop it.

[1] https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/object-fit

@sebbASF
sebbASF requested review from Paul-TT and bproffitt August 26, 2026 08:12
@bproffitt

Copy link
Copy Markdown
Contributor

@Paul-TT I would like you to address this one, please.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants