Skip to content

Commit 3c1e1a6

Browse files
committed
fix: update AdvBanner styles to enhance background image handling
1 parent 41b38c2 commit 3c1e1a6

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/features/adv/components/AdvBanner.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,18 +83,18 @@
8383
gap: 1em;
8484
font-size: 14px;
8585
position: relative;
86+
background-image: var(--ad-dynamic-bg-image);
8687
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;
8791
--gradient-direction: 135deg;
8892
}
8993

9094
.carbonCover:before {
9195
content: '';
9296
position: absolute;
9397
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);
9999
z-index: -1;
100100
}

0 commit comments

Comments
 (0)