Skip to content

Commit fc866d7

Browse files
committed
fix: update carbon cover image dimensions for improved layout consistency
1 parent c3c003b commit fc866d7

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
@@ -119,9 +119,9 @@
119119
}
120120

121121
.carbonCoverImage {
122-
aspect-ratio: 1 / 1;
123-
width: auto;
124-
height: 85%;
122+
aspect-ratio: 1;
123+
height: fit-content;
124+
width: 45%;
125125
z-index: 2;
126126
object-fit: cover;
127127
border-radius: 10px;
@@ -190,7 +190,7 @@
190190

191191
.carbonCover:hover .carbonCoverImage,
192192
.carbonCover:focus-within .carbonCoverImage {
193-
height: 50%;
193+
width: 25%;
194194
filter: brightness(1.05);
195195
}
196196

0 commit comments

Comments
 (0)