fix(dashboard): replace all hardcoded emoji icons with Font Awesome
Fix inconsistent tab icon rendering by replacing hardcoded emoji icons throughout the codebase with Font Awesome equivalents: - distributeWidgetsByCategory(): Replace emojis in auto-layout tab creation - Status tab: 📊 → fa-solid fa-user - Scene tab: 🌍 → fa-solid fa-map - Social tab: 👥 → fa-solid fa-users - Inventory tab: 🎒 → fa-solid fa-bag-shopping - applyDashboardConfig(): Update fallback icon from 📄 → fa-solid fa-file These hardcoded emojis bypassed the migration system, causing icons to disappear after operations like auto-arrange, reset layout, or page refresh. Resolves inconsistent icon rendering across all dashboard operations.
This commit is contained in:
@@ -1708,6 +1708,15 @@ body:has(.rpg-panel.rpg-position-left) #sheld {
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
/* Prevent text selection in edit mode (especially important for mobile) */
|
||||
.edit-mode .rpg-widget-content {
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
-webkit-touch-callout: none; /* Prevent iOS callout menu */
|
||||
}
|
||||
|
||||
/* Hide resize handles when widgets are locked */
|
||||
.widgets-locked .resize-handles {
|
||||
opacity: 0 !important;
|
||||
|
||||
Reference in New Issue
Block a user