[UPDT] HORILLA_THEME: Updated permission table header to sticky

This commit is contained in:
Horilla
2025-10-22 15:11:31 +05:30
parent a25e97c358
commit 1eef6b8eb1
2 changed files with 4 additions and 4 deletions

View File

@@ -34,7 +34,7 @@
content.style.maxHeight = "0";
content.style.opacity = "0";
} else {
content.style.maxHeight = content.scrollHeight + "px";
content.style.maxHeight = "500px";
content.style.opacity = "1";
}

View File

@@ -9,13 +9,13 @@
</button>
<div class="panel inner-accordion-content transition-all duration-300 overflow-hidden"
<div class="panel inner-accordion-content transition-all duration-300 overflow-auto bg-white relative"
style="max-height: 0; opacity: 0;">
<div class="overflow-x-auto p-4">
<div class="p-4 pt-0">
<table class="w-full">
<!-- Table Head -->
<thead class="top-0 bg-white text-left">
<thead class="top-0 bg-white text-left sticky z-[2]">
<tr class="border-b border-[#ececec]">
<!-- Select All Checkbox -->
<th class="w-12 text-sm font-medium text-left p-3">