make sidebar scrollable

This commit is contained in:
Younes ENNAJI
2025-03-16 01:43:23 +00:00
parent ffbb8e5053
commit 3cb6ea7ed7
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
{ {
"dist/main.css": "/dist/main.3c7702b0.css", "dist/main.css": "/dist/main.2817aa33.css",
"dist/main.js": "/dist/main.3be5bc06.js", "dist/main.js": "/dist/main.3be5bc06.js",
"dist/455.3a7b4474.css": "/dist/455.3a7b4474.css", "dist/455.3a7b4474.css": "/dist/455.3a7b4474.css",
"dist/455.095e6545.js": "/dist/455.095e6545.js", "dist/455.095e6545.js": "/dist/455.095e6545.js",
+1 -1
View File
@@ -1,5 +1,5 @@
<nav id="main-navigation" class="sticky top-24 hidden lg:block"> <nav id="main-navigation" class="sticky top-24 hidden lg:block">
<div class="bg-white rounded-xl shadow-sm border border-slate-200 p-4 transition-shadow hover:shadow-md"> <div class="bg-white rounded-xl shadow-sm border border-slate-200 p-4 transition-shadow hover:shadow-md max-h-[calc(100vh-8rem)] overflow-y-auto">
{% for section in site.data.menu %} {% for section in site.data.menu %}
<div class="mb-6"> <div class="mb-6">
<h3 class="text-xs font-semibold text-indigo-600 uppercase tracking-wider mb-3 flex items-center"> <h3 class="text-xs font-semibold text-indigo-600 uppercase tracking-wider mb-3 flex items-center">
+1 -1
View File
@@ -2,7 +2,7 @@
"entrypoints": { "entrypoints": {
"main": { "main": {
"css": [ "css": [
"/dist/main.3c7702b0.css" "/dist/main.2817aa33.css"
], ],
"js": [ "js": [
"/dist/main.3be5bc06.js" "/dist/main.3be5bc06.js"
File diff suppressed because one or more lines are too long