Skip to content

Commit

Permalink
feat: added max width
Browse files Browse the repository at this point in the history
  • Loading branch information
djpiper28 committed Mar 3, 2024
1 parent 8ea8a6b commit 344eeb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kube_cache/server/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func (s *Server) Index(c *gin.Context) {

kubesHtml := ""
for _, kube := range kubes {
kubesHtml += fmt.Sprintf(`<div>
kubesHtml += fmt.Sprintf(`<div style="max-width: 100px; max-height: 100px;">
<h3>%s</h3>
<img src="/kubeImageById/%s" style="max-width: 100px; max-height: 100px;"/>
</div>`, kube.Name, kube.Id)
Expand Down

0 comments on commit 344eeb5

Please sign in to comment.