From d719c8e965a58588a8756bc3bc5f88aebb316caa Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Thu, 13 Jan 2022 23:53:10 +0800 Subject: [PATCH] Use `vertical-align: bottom;` instead of `middle` to avoid the Web UI jumping when mouse hovers the section title. (#106) Before: the height of the section title jumps between 25 ~ 28 when mouse leaves and After: the height is fixed --- layouts/partials/footer.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index ef6ce71..668ab90 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -47,7 +47,7 @@ // Add anchors to headers // Gitea SVG from https://github.com/coreui/coreui-icons - let svg = ' gitea'; + let svg = ' gitea'; let contents = document.getElementsByClassName("content"); if (contents.length > 0) { let content = contents[0];