mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-25 15:15:44 -03:00
Add user-select: none to prevent text selection on cards and control elements
This commit is contained in:
@@ -359,6 +359,25 @@
|
|||||||
font-size: 0.85em;
|
font-size: 0.85em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Prevent text selection on cards and interactive elements */
|
||||||
|
.lora-card,
|
||||||
|
.lora-card *,
|
||||||
|
.card-actions,
|
||||||
|
.card-actions i,
|
||||||
|
.toggle-blur-btn,
|
||||||
|
.show-content-btn,
|
||||||
|
.card-preview img,
|
||||||
|
.card-preview video,
|
||||||
|
.card-footer,
|
||||||
|
.card-header,
|
||||||
|
.model-name,
|
||||||
|
.base-model-label {
|
||||||
|
-webkit-user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
-ms-user-select: none;
|
||||||
|
user-select: none;
|
||||||
|
}
|
||||||
|
|
||||||
/* Recipe specific elements - migrated from recipe-card.css */
|
/* Recipe specific elements - migrated from recipe-card.css */
|
||||||
.recipe-indicator {
|
.recipe-indicator {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|||||||
@@ -306,6 +306,26 @@
|
|||||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Prevent text selection in control and header areas */
|
||||||
|
.tag,
|
||||||
|
.control-group button,
|
||||||
|
.control-group select,
|
||||||
|
.toggle-folders-btn,
|
||||||
|
.bulk-operations-panel,
|
||||||
|
.app-header,
|
||||||
|
.header-branding,
|
||||||
|
.app-title,
|
||||||
|
.main-nav,
|
||||||
|
.nav-item,
|
||||||
|
.header-actions button,
|
||||||
|
.header-controls,
|
||||||
|
.toggle-folders-container button {
|
||||||
|
-webkit-user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
-ms-user-select: none;
|
||||||
|
user-select: none;
|
||||||
|
}
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
.actions {
|
.actions {
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
|||||||
Reference in New Issue
Block a user