Skip to content

Commit 483fa34

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

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
// When using object-fit:cover + ratio 1/1, Chrome switches to pixelated downsizing algo
117117
// https://stackoverflow.com/a/77059936
118118
// The following prevent this so the image is correctly downsized using blurring effect
119-
overflow-clip-margin: unset;
119+
translate: 0 0 0.01px;
120120

121121
@supports not (aspect-ratio: 1 / 1) {
122122
position: absolute;

0 commit comments

Comments
 (0)