Skip to content

Commit 96bd272

Browse files
committed
Fixes bg attachment fixed
1 parent 3251a01 commit 96bd272

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

assets/bundle/main.js

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/phone-hero/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@ export class KdPhoneHero extends KdBaseElement {
4141
}
4242
}
4343
44+
@media (max-width: 623px) and (hover: none) {
45+
:host::before {
46+
background-attachment: initial;
47+
}
48+
}
49+
4450
@media (min-width: 480px) {
4551
:host {
4652
--kd-phone-hero-block-offset: 30vh;

0 commit comments

Comments
 (0)