Unverified Commit 4c634565 authored by Shu Ding's avatar Shu Ding Committed by GitHub

Remove `visibility: inherit` from the image component (#23329)

This is a follow-up PR of #19052, where `visibility: inherit` was mistakenly added back. It was removed in #23278.

## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.

## Documentation / Examples

- [ ] Make sure the linting passes
parent a16f7a38
...@@ -452,7 +452,7 @@ export default function Image({ ...@@ -452,7 +452,7 @@ export default function Image({
src={src} src={src}
decoding="async" decoding="async"
sizes={sizes} sizes={sizes}
style={{ ...imgStyle, visibility: 'inherit' }} style={imgStyle}
className={className} className={className}
/> />
</noscript> </noscript>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment