Skip to content

Commit

Permalink
Merge pull request #81 from LittleSound/fix/home-cloudnative-logo-ove…
Browse files Browse the repository at this point in the history
…rflow

fix: home cloudnative logo overflow
  • Loading branch information
Iceber authored Oct 8, 2023
2 parents e627031 + f67d2e1 commit 50ac12b
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 50ac12b

Please sign in to comment.