Slightly reduce size of image to fix overlap with buttons
This commit is contained in:
parent
459cb9df0d
commit
66586ba32d
|
@ -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 (
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue