mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-24 22:52:12 -03:00
Enhance recipe modal styles and tooltip functionality
- Updated CSS for recipe modal to improve layout and responsiveness, including adjustments to header and badge styles. - Added tooltip positioning logic to ensure correct display of local-badge tooltips on hover. - Refactored HTML structure for local status badges to enhance stability and positioning. - Removed unnecessary console logs from recipe fetching process in JavaScript for cleaner output.
This commit is contained in:
@@ -215,10 +215,7 @@ class RecipeCard {
|
||||
.then(data => {
|
||||
showToast('Recipe deleted successfully', 'success');
|
||||
|
||||
// Refresh the recipe list if we're on the recipes page
|
||||
if (window.recipeManager && typeof window.recipeManager.loadRecipes === 'function') {
|
||||
window.recipeManager.loadRecipes();
|
||||
}
|
||||
window.recipeManager.loadRecipes();
|
||||
|
||||
modalManager.closeModal('deleteModal');
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user