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:
commit
451d9c80cb
@ -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) }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user