Skip to content

Commit

Permalink
fix: home cloudnative logo overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
LittleSound committed Sep 28, 2023
1 parent e627031 commit 10fb59c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions assets/scss/_variables_project.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,8 @@ Add styles or override variables from the theme here.
border-width: 0;
padding: 0.5em;
}

.home-cloudnative-logo {
width: 100%;
max-width: 600px;
}
2 changes: 1 addition & 1 deletion content/en/_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,5 @@ <h1> Support complex search </h1>
{{< blocks/lead color="300" >}}
<b>Clusterpedia is a <a href="https://www.cncf.io">Cloud Native Computing Foundation</a> sandbox project</b> <br />
<br />
<img src="https://landscape.cncf.io/images/right-logo.svg" width="600"/>
<img src="https://landscape.cncf.io/images/right-logo.svg" class="home-cloudnative-logo"/>
{{% /blocks/lead %}}
2 changes: 1 addition & 1 deletion content/zh/_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,5 @@ <h1> 强大的检索条件支持 </h1>
{{< blocks/lead color="300" >}}
<b>Clusterpedia is a <a href="https://www.cncf.io">Cloud Native Computing Foundation</a> sandbox project</b> <br />
<br />
<img src="https://landscape.cncf.io/images/right-logo.svg" width="600"/>
<img src="https://landscape.cncf.io/images/right-logo.svg" class="home-cloudnative-logo" />
{{% /blocks/lead %}}

0 comments on commit 10fb59c

Please sign in to comment.