From 6cabe4e79b8534f7a0f8dd8a664b2bad52cba623 Mon Sep 17 00:00:00 2001 From: VnPower Date: Wed, 14 Jun 2023 09:55:15 +0700 Subject: [PATCH] Fix: sidebar z-index --- handler/pixiv.go | 2 +- template/css/style.css | 1 + template/css/style.scss | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/handler/pixiv.go b/handler/pixiv.go index 26604f6..d5c2065 100644 --- a/handler/pixiv.go +++ b/handler/pixiv.go @@ -83,7 +83,7 @@ func (p *PixivClient) Request(URL string) (*http.Response, error) { } if resp.StatusCode != 200 { - return resp, errors.New(fmt.Sprintf("Pixiv returned code: %d for request ", resp.StatusCode)) + return resp, errors.New(fmt.Sprintf("Pixiv returned code: %d for request %s", resp.StatusCode, URL)) } return resp, nil diff --git a/template/css/style.css b/template/css/style.css index 972fb33..eb28aaf 100644 --- a/template/css/style.css +++ b/template/css/style.css @@ -89,6 +89,7 @@ body { width: 200px; transform: translateX(-200px); transition: transform 250ms ease-in-out; + z-index: 999; } .sidebar .sidebar-list { list-style-type: none; diff --git a/template/css/style.scss b/template/css/style.scss index e00abbc..f1a90f7 100644 --- a/template/css/style.scss +++ b/template/css/style.scss @@ -107,6 +107,7 @@ body { width: 200px; transform: translateX(-200px); transition: transform 250ms ease-in-out; + z-index: 999; .sidebar-list { list-style-type: none;