various fixes
This commit is contained in:
parent
dc3dc81238
commit
627abdb400
@ -79,10 +79,10 @@ func iconGET(w http.ResponseWriter, r *http.Request) {
|
||||
if err != nil {
|
||||
size := 24
|
||||
img := image.NewRGBA(image.Rect(0, 0, size, size))
|
||||
co := color.RGBA{0, 0, 0, 255}
|
||||
co := color.RGBA{A: 255}
|
||||
point := fixed.Point26_6{
|
||||
fixed.I(size/2 - basicfont.Face7x13.Width),
|
||||
fixed.I(size / 2),
|
||||
X: fixed.I(size/2 - basicfont.Face7x13.Width),
|
||||
Y: fixed.I(size / 2),
|
||||
}
|
||||
d := &font.Drawer{
|
||||
Dst: img,
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
.icon img {
|
||||
width: 50px;
|
||||
hight: 50px;
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
.grid {
|
||||
@ -39,7 +39,7 @@
|
||||
}
|
||||
|
||||
header {
|
||||
padding: 0px !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
main {
|
||||
|
Loading…
Reference in New Issue
Block a user