mirror of
https://github.com/router-for-me/Cli-Proxy-API-Management-Center.git
synced 2026-02-18 18:50:49 +08:00
refactor(ui): streamline auth file actions with event delegation
- Updated the auth file action buttons to use data attributes for improved event handling. - Implemented event delegation for button actions (show details, download, delete) to enhance performance and maintainability. - Added a hidden class in CSS to manage file item visibility more effectively. - Refactored modal button actions to utilize event delegation for better code organization.
This commit is contained in:
@@ -1701,6 +1701,10 @@ input:checked+.slider:before {
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.file-item.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.key-item:hover,
|
||||
.provider-item:hover,
|
||||
.file-item:hover {
|
||||
|
||||
Reference in New Issue
Block a user