Skip to content

Commit

Permalink
Merge pull request #916 from cncf/fix-menu-#773
Browse files Browse the repository at this point in the history
#773 Fix menu overflow on smaller screens
  • Loading branch information
cjyabraham authored Jan 9, 2025
2 parents 7252f24 + 8a5d09d commit 7c60fb9
Showing 1 changed file with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -585,9 +585,11 @@
padding: 7px 7px;
font-family: $font-primary;
&__image-wrapper {
width: 194px;
height: 102px;
flex-shrink: 0;
flex: 0 0 140px;
height: auto;
@media screen and (min-width: 360px) {
flex: 0 0 194px;
}
}
&__link {
display: block;
Expand All @@ -598,6 +600,9 @@
width: 100%;
object-fit: cover;
border-radius: 3px;
@media screen and (max-width: 359px) {
object-position: left;
}
}
&__text-wrapper {
padding-left: 20px;
Expand Down

0 comments on commit 7c60fb9

Please sign in to comment.