Skip to content

Commit 4d4e0bd

Browse files
authored
Merge pull request #102 from KotlinFoundation/ktl-2150-logos
fix sponsors logo positioning
2 parents b8fa7a9 + f9de7d7 commit 4d4e0bd

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/components/IntroBanner/introBanner.module.css

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,19 @@
6363
margin-left: calc(-1 * var(--ktf-companies-logo-spacing));
6464

6565
@media (--ktl-ds-min) {
66-
max-width: 480px;
66+
max-width: 520px;
6767
}
6868
}
6969

7070
.company {
7171
margin-left: var(--ktf-companies-logo-spacing);
72+
73+
/* this forces companies logos to spread among two lines equally */
74+
@media (width >= 473px) and (width <= 616px) {
75+
&:nth-child(2) {
76+
flex-basis: 50%;
77+
}
78+
}
7279
}
7380

7481
.companyLogo {

0 commit comments

Comments
 (0)