From f492d965636b48379ed5e42d78d1fa9f0849343a Mon Sep 17 00:00:00 2001 From: partisan Date: Mon, 21 Oct 2024 17:09:47 +0200 Subject: [PATCH] cool animation for search page buttons --- static/css/style-search.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/static/css/style-search.css b/static/css/style-search.css index 382d910..c8c8507 100644 --- a/static/css/style-search.css +++ b/static/css/style-search.css @@ -136,6 +136,7 @@ body.menu-open { border-bottom-right-radius: 22px; border: 1px solid var(--search-bg-input-border); border-top: none; /* No top border to avoid double borders with the input */ + z-index: 900; } /* Show autocomplete when wrapper has 'wrapper-searching' class */ @@ -197,6 +198,9 @@ body.menu-open { flex-wrap: wrap; margin-top: 30px; gap: 20px; + /* Allow transform movement */ + transition: transform 0.3s ease; /* Smooth movement when suggestions appear */ + position: relative; } .icon-button {