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 {
|
if err != nil {
|
||||||
size := 24
|
size := 24
|
||||||
img := image.NewRGBA(image.Rect(0, 0, size, size))
|
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{
|
point := fixed.Point26_6{
|
||||||
fixed.I(size/2 - basicfont.Face7x13.Width),
|
X: fixed.I(size/2 - basicfont.Face7x13.Width),
|
||||||
fixed.I(size / 2),
|
Y: fixed.I(size / 2),
|
||||||
}
|
}
|
||||||
d := &font.Drawer{
|
d := &font.Drawer{
|
||||||
Dst: img,
|
Dst: img,
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
.icon img {
|
.icon img {
|
||||||
width: 50px;
|
width: 50px;
|
||||||
hight: 50px;
|
height: 50px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.grid {
|
.grid {
|
||||||
@ -39,7 +39,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
header {
|
header {
|
||||||
padding: 0px !important;
|
padding: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
main {
|
main {
|
||||||
|
Loading…
Reference in New Issue
Block a user