commit 9c4d5ce27a3c0a6eb8d715fa0856d063960fd2ff
parent f88ca0fcaa43c2f8dc3d4c4a5b8a6a95a1e55078
Author: Peter <peter@minskio.co.uk>
Date: Mon, 27 Jun 2022 11:20:32 +0100
Only show scrollbar when required
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/index.html b/index.html
@@ -14,7 +14,7 @@
#input p{display:inline-block}
input{background-color:var(--prompt-bg-color);color:var(--input-color);width:90%}
#bookmark-filter{width:56vw;margin:auto;position:relative;max-height:16rem;overflow:hidden;position:relative}
- #bookmark-filter:hover{overflow-y:scroll}
+ #bookmark-filter:hover{overflow-y:auto}
#bookmark-filter:before{content:'';width:100%;height:16rem;position:absolute;background:linear-gradient(to bottom,transparent,var(--main-bg-color));pointer-events:none;}
#bookmarks{list-style-type:none;padding:0;margin:0}
#bookmarks li{margin:0.3rem 1rem 0.3rem 0;float:left}