Add user-select: none to prevent text selection on cards and control elements

This commit is contained in:
Will Miao
2025-05-15 05:36:56 +08:00
parent bf793d5b8b
commit 925ad7b3e0
2 changed files with 39 additions and 0 deletions

View File

@@ -359,6 +359,25 @@
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-indicator {
position: absolute;