commit 594d403aeb7b7013675ef6464ea4273827d6d5d5
parent cd1e27c56e0c4de7cf83f2dc19d6246670a95ff7
Author: Peter <peter@minskio.co.uk>
Date: Wed, 25 May 2022 09:31:28 +0100
Allow scrolling of list on hover
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/index.html b/index.html
@@ -14,6 +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: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}