diff --git a/handlers.go b/handlers.go index 9e3577c..e38f6d7 100644 --- a/handlers.go +++ b/handlers.go @@ -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, diff --git a/templates/main.html b/templates/main.html index b5a2519..34f4d18 100644 --- a/templates/main.html +++ b/templates/main.html @@ -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 {