feat: resolve linter warnings, optimize tables scroll behavior with top scroll sync, and extract reusable table macros
This commit is contained in:
@@ -5,6 +5,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
const modal = document.getElementById(modalId);
|
||||
if (!modal) return;
|
||||
modal.classList.remove('hidden');
|
||||
modal.classList.add('flex');
|
||||
setTimeout(() => {
|
||||
const content = modal.querySelector('.modal-content');
|
||||
if (content) {
|
||||
@@ -24,6 +25,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
}
|
||||
setTimeout(() => {
|
||||
modal.classList.add('hidden');
|
||||
modal.classList.remove('flex');
|
||||
}, 300); // Wait for transition animation
|
||||
};
|
||||
|
||||
|
||||
+433
-264
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user