Merge pull request #916 from cncf/fix-menu-#773

#773 Fix menu overflow on smaller screens
This commit is contained in:
Chris Abraham 2025-01-09 10:46:27 -05:00 committed by GitHub
commit 7c60fb9387
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 3 deletions

View File

@ -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;
@ -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;