mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-25 15:15:44 -03:00
style: Update filter indicator and button styles for improved UI consistency
feat: Add pulse animation to filter indicators in Lora and recipe management refactor: Change filter-active button to a div for better semantic structure
This commit is contained in:
@@ -124,10 +124,10 @@ class RecipeManager {
|
||||
indicator.classList.remove('hidden');
|
||||
|
||||
// Add pulse animation
|
||||
const button = indicator.querySelector('button');
|
||||
if (button) {
|
||||
button.classList.add('animate');
|
||||
setTimeout(() => button.classList.remove('animate'), 600);
|
||||
const filterElement = indicator.querySelector('.filter-active');
|
||||
if (filterElement) {
|
||||
filterElement.classList.add('animate');
|
||||
setTimeout(() => filterElement.classList.remove('animate'), 600);
|
||||
}
|
||||
|
||||
// Add click handler for clear filter button
|
||||
|
||||
Reference in New Issue
Block a user