Skip to content

Commit 9a6825f

Browse files
authored
Merge branch 'master' into fix-sistent-select-scroll
2 parents 1c7bb15 + 765b034 commit 9a6825f

File tree

2 files changed

+20
-7
lines changed

2 files changed

+20
-7
lines changed

src/collections/handbook/repository-overview/repo-data.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export const repo_data = [
4848
project: "Meshery Documentation",
4949
image: meshery,
5050
site: "http://docs.meshery.io",
51-
language: "Jekyll",
51+
language: "Hugo",
5252
maintainers_name: ["Vacant"],
5353
link: [""],
5454
repository: "https://github.com/meshery/meshery/tree/master/docs",

src/components/Card/Card.style.js

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,16 +60,29 @@ export const CardWrapper = styled.div`
6060
6161
.gatsby-image-wrapper,
6262
.old-gatsby-image-wrapper {
63+
width: 100%;
6364
height: 100%;
64-
margin-top: 0.2rem;
65+
margin-top: 0;
6566
transition: all 0.3s ease-in;
67+
display: flex;
68+
align-items: center;
69+
justify-content: center;
6670
}
67-
img {
68-
height: inherit;
69-
max-height: 180px;
71+
72+
.gatsby-image-wrapper img,
73+
.old-gatsby-image-wrapper img {
74+
max-width: 100%;
75+
max-height: 100%;
76+
width: auto;
77+
height: auto;
7078
display: block;
71-
text-align: center;
72-
margin: auto;
79+
object-fit: contain;
80+
object-position: center;
81+
margin: 0 auto;
82+
}
83+
84+
@media screen and (max-width: 768px) {
85+
height: 9.5rem;
7386
}
7487
}
7588

0 commit comments

Comments
 (0)