Merge pull request #1595 from vmware-tanzu/site/css/resource-page-images

site css: images on resource page should fit the grid
This commit is contained in:
Ben Petersen 2023-07-28 14:56:53 -04:00 committed by GitHub
commit fd54caeb55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 4 deletions

View File

@ -113,8 +113,7 @@ layout: section
<a href="https://aws.amazon.com/blogs/opensource/simplify-amazon-eks-multi-cluster-authentication-with-open-source-pinniped/" <a href="https://aws.amazon.com/blogs/opensource/simplify-amazon-eks-multi-cluster-authentication-with-open-source-pinniped/"
target="_blank"> target="_blank">
<div class="icon"> <div class="icon">
<img src="https://d2908q01vomqb2.cloudfront.net/ca3512f4dfa95a03169c5a670a4c91a19b3077b4/2023/06/13/Simplify-EKS-multicluster-authentication-main-art-1024x513.png" <img src="https://d2908q01vomqb2.cloudfront.net/ca3512f4dfa95a03169c5a670a4c91a19b3077b4/2023/06/13/Simplify-EKS-multicluster-authentication-main-art-1024x513.png" />
width="311px"/>
</div> </div>
<div class="content"> <div class="content">
<p> <p>

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"Target":"css/style.css","MediaType":"text/css","Data":{}}

View File

@ -81,7 +81,7 @@
} }
.use-cases { .use-cases {
.grid { .grid {
grid-template-columns: 220px 1fr; grid-template-columns: 220px 1fr;
margin-bottom: 30px; margin-bottom: 30px;
grid-template-areas: grid-template-areas:
@ -155,7 +155,7 @@
margin: 40px 0px; margin: 40px 0px;
} }
.bio { .bio {
display: grid; display: grid;
grid-template-columns: 120px 1fr; grid-template-columns: 120px 1fr;
column-gap: 20px; column-gap: 20px;
.info { .info {
@ -431,6 +431,10 @@
align-items: center; align-items: center;
justify-content: center; justify-content: center;
min-height: 140px; min-height: 140px;
img {
max-width: 100%;
height: auto;
}
} }
.content { .content {
padding: 0px 20px 20px 20px; padding: 0px 20px 20px 20px;