-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add name underneath users logo #1043
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2219,13 +2219,22 @@ input::placeholder { | |
justify-content: center; | ||
} | ||
|
||
.showcaseSection .logos .wrapperDiv { | ||
height: 128px; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This will break logos that aren't square in proportion. For example, have a look at Vuls and ml5.js on https://deploy-preview-1043--docusaurus-preview.netlify.com/en/users and compared them with https://docusaurus.io/en/users. The images are distorted. You could add a wrapper div that has fixed width and height around all the images so that you can align the names and still maintain the aspect ratio of the images. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @yangshun Updated, waited for the deploy env to be built - but it is on hold for some reason |
||
width: 128px; | ||
} | ||
|
||
.showcaseSection .logos img { | ||
max-height: 128px; | ||
padding: 20px; | ||
width: 128px; | ||
} | ||
|
||
@media only screen and (max-width: 735px) { | ||
.showcaseSection .logos .wrapperDiv { | ||
height: 64px; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same here. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @yangshun Updated, waited for the deploy env to be built - but it is on hold for some reason |
||
width: 64px; | ||
} | ||
.showcaseSection .logos img { | ||
max-height: 64px; | ||
padding: 20px; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
key
-prop needs to be moved to thisdiv