Skip to content

Commit

Permalink
Remove visibility: inherit from the image component (vercel#23329)
Browse files Browse the repository at this point in the history
This is a follow-up PR of vercel#19052, where `visibility: inherit` was mistakenly added back. It was removed in vercel#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
  • Loading branch information
shuding authored and SokratisVidros committed Apr 20, 2021
1 parent 308e63e commit 36fa07b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/client/image.tsx
Expand Up @@ -452,7 +452,7 @@ export default function Image({
src={src}
decoding="async"
sizes={sizes}
style={{ ...imgStyle, visibility: 'inherit' }}
style={imgStyle}
className={className}
/>
</noscript>
Expand Down

0 comments on commit 36fa07b

Please sign in to comment.