Skip to content

Commit 23c81e3

Browse files
committed
fix: update background image handling in carbonCover for improved visual consistency
1 parent 3c1e1a6 commit 23c81e3

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

src/features/adv/components/AdvBanner.css

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,20 +83,19 @@
8383
gap: 1em;
8484
font-size: 14px;
8585
position: relative;
86-
background-image: var(--ad-dynamic-bg-image);
8786
transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
88-
background-repeat: no-repeat;
89-
background-size: cover;
90-
background-position: center;
9187
--gradient-direction: 135deg;
9288
}
9389

9490
.carbonCover:before {
9591
content: '';
9692
position: absolute;
9793
inset: 0;
94+
background-image: var(--ad-dynamic-bg-image);
95+
background-repeat: no-repeat;
96+
background-size: cover;
97+
background-position: center;
9898
filter: blur(10px);
99-
z-index: -1;
10099
}
101100

102101
.carbonCover:after {

0 commit comments

Comments
 (0)