Compare commits

...

2 Commits

Author SHA1 Message Date
seednode 5440346b08 More fine-tuning of max dimensions for images 2024-05-28 19:41:13 -04:00
seednode 66586ba32d Slightly reduce size of image to fix overlap with buttons 2024-05-28 19:30:01 -04:00
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ import (
const ( const (
AllowedCharacters string = `^[A-z0-9.\-_]+$` AllowedCharacters string = `^[A-z0-9.\-_]+$`
ReleaseVersion string = "8.8.2" ReleaseVersion string = "8.8.4"
) )
var ( var (

View File

@ -49,7 +49,7 @@ func (t Format) CSS() string {
css.WriteString(`a{color:inherit;display:block;height:97%;width:100%;text-decoration:none;}`) css.WriteString(`a{color:inherit;display:block;height:97%;width:100%;text-decoration:none;}`)
} }
css.WriteString(`table{margin-left:auto;margin-right:auto;}`) css.WriteString(`table{margin-left:auto;margin-right:auto;}`)
css.WriteString(`img{margin:auto;display:block;max-width:97%;max-height:97%;`) css.WriteString(`img{margin:auto;display:block;max-width:96%;max-height:95%;`)
css.WriteString(`object-fit:scale-down;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)`) css.WriteString(`object-fit:scale-down;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)`)
if t.Fun { if t.Fun {
rotate := rand.Intn(360) rotate := rand.Intn(360)