From 5414eb2d941180b19baff1023fff865380d3dc07 Mon Sep 17 00:00:00 2001 From: vidhi hattar Date: Thu, 23 May 2024 01:17:34 +0530 Subject: [PATCH] Made reference filter bar sticky and added some styles --- docs/src/components/Reference/index.module.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/src/components/Reference/index.module.css b/docs/src/components/Reference/index.module.css index 034929137..90523d51a 100644 --- a/docs/src/components/Reference/index.module.css +++ b/docs/src/components/Reference/index.module.css @@ -8,19 +8,25 @@ .input { width: 100%; position: sticky; - top: 0; + top: 60px; display: flex; justify-content: space-between; align-items: center; flex-grow: 1; gap: 10px; padding: 5px 5px; + height: 80px; + background-color: #FFFFFF; } .search input { flex-grow: 1; font-size: 1.2em; padding: 0.2em 0.4em; + height: 40px; + border: 1px solid #ccc; + border-radius: 2px; + width: 50px; } .search h2, .search input { font-family: monospace;