wp_print_auto_sizes_contain_css_fix
wp_print_auto_sizes_contain_css_fix ( No parameters )
- Introduced in WordPress: 6.7.1
- Deprecated in WordPress: —
Description
Prints a CSS rule to fix potential visual issues with images using `sizes=auto`.This rule overrides the similar rule in the default user agent stylesheet, to avoid images that use e.g.
`width: auto` or `width: fit-content` to appear smaller.