1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-24 10:07:21 +02:00

Merge pull request #150 from fudanchii/html-fix

Fix gravatar size at build page to fit the stylesheet.
This commit is contained in:
Brad Rydzewski 2014-03-01 19:24:19 -08:00
commit 451d9c80cb

View File

@ -34,7 +34,7 @@ func (c *Commit) HashShort() string {
}
// Returns the Gravatar Image URL.
func (c *Commit) Image() string { return fmt.Sprintf(GravatarPattern, c.Gravatar, 42) }
func (c *Commit) Image() string { return fmt.Sprintf(GravatarPattern, c.Gravatar, 58) }
func (c *Commit) ImageSmall() string { return fmt.Sprintf(GravatarPattern, c.Gravatar, 32) }
func (c *Commit) ImageLarge() string { return fmt.Sprintf(GravatarPattern, c.Gravatar, 160) }