Skip to content

Commit 7509c48

Browse files
committed
fix(thumbnail): fix console warning on img overflow style
1 parent 93ce319 commit 7509c48

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
### Fixed
1111

1212
- `Popover` & `Tooltip`: fix popper warning on margin style applied by class `.visually-hidden`.
13+
- `Thumbnail`: fix console warning on img overflow style.
1314

1415
## [3.15.0][] - 2025-07-02
1516

packages/lumx-core/src/scss/components/thumbnail/_index.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@
117117
// https://stackoverflow.com/a/77059936
118118
// The following prevent this so the image is correctly downsized using blurring effect
119119
overflow-clip-margin: unset;
120+
overflow: clip;
120121

121122
@supports not (aspect-ratio: 1 / 1) {
122123
position: absolute;

0 commit comments

Comments
 (0)