Slightly reduce size of image to fix overlap with buttons

This commit is contained in:
seednode 2024-05-28 19:30:01 -04:00
parent 459cb9df0d
commit 66586ba32d
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.3"
) )
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:96%;`)
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)