Skip to content

Commit e7c5d5d

Browse files
committed
Fixed the scaling issues on internship programs page
1 parent 0adc8fe commit e7c5d5d

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/collections/programs/Programs.style.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,16 @@ export const ProgramsWrapper = styled.div`
55
color: ${props => props.theme.keppelColor};
66
overflow-wrap: break-word;
77
}
8+
div[style*="aspect-ratio"] {
9+
aspect-ratio: unset !important;
10+
overflow: visible !important;
11+
}
812
img{
913
width: 19vw;
1014
float: right;
1115
margin-left: 40px;
1216
margin-bottom: 30px;
17+
aspect-ratio: unset !important;
1318
&.hacktoberfest-img {
1419
width: 50%;
1520

src/collections/programs/hacktoberfest-2024/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Prepare for Hacktoberfest and ready yourself for contributing to CNCF projects t
2828

2929
<h3>Earn a Badge </h3>
3030
<p>Earn a Hacktoberfest Contributor badge by contributing to Layer5 projects during this Hacktoberfest.</p>
31-
<img src={hacktoberfestBadge} style="width: 250px"/>
31+
<img src={hacktoberfestBadge} style="width: 250px; aspect-ratio: unset !important;"/>
3232

3333
<ul>
3434
<li><strong>DATE:</strong>September 27, 2024</li>

0 commit comments

Comments
 (0)