Fix multiple UI and functionality issues

- Fixed together mode: Render panels before cleaning DOM so trackers display properly
- Fixed temperature unit toggle: Changed from 'celsius'/'fahrenheit' to 'C'/'F' to match config
- Fixed temperature widget: Thermometer color thresholds now use Celsius internally for consistency
- Fixed relationship remove buttons: Removed duplicate class causing wrong fields to be deleted
- Added styling for relationship remove buttons to match custom field buttons
- Added mobile font sizes for Past Events widget for better readability
- Added parsing debug log to help troubleshoot together mode issues
This commit is contained in:
Spicy_Marinara
2025-11-02 10:59:06 +01:00
parent 82b9564e07
commit 718696e611
5 changed files with 44 additions and 22 deletions
+20 -10
View File
@@ -1980,19 +1980,14 @@ body:has(.rpg-panel.rpg-position-left) #sheld {
.rpg-character-stat {
flex-shrink: 0;
}
.rpg-character-stat .rpg-stat-name {
font-size: clamp(0.5vw, 0.6vw, 0.7vw) !important;
font-weight: 600 !important;
white-space: nowrap !important;
}
.rpg-character-stat .rpg-stat-label {
color: var(--rpg-text) !important;
}
.rpg-character-stat .rpg-stat-value {
font-weight: bold !important;
}
/* Placeholder styles for empty sections */
.rpg-thoughts-placeholder,
.rpg-placeholder-widget {
@@ -3885,7 +3880,8 @@ body:has(.rpg-panel.rpg-position-left) #sheld {
font-size: 0.95em;
}
.rpg-field-remove {
.rpg-field-remove,
.rpg-remove-relationship {
flex-shrink: 0;
padding: 0.375em 0.625em;
background: var(--rpg-highlight);
@@ -3896,7 +3892,8 @@ body:has(.rpg-panel.rpg-position-left) #sheld {
transition: opacity 0.2s;
}
.rpg-field-remove:hover {
.rpg-field-remove:hover,
.rpg-remove-relationship:hover {
opacity: 0.8;
}
@@ -4938,6 +4935,19 @@ body:has(.rpg-panel.rpg-position-left) #sheld {
font-size: clamp(16px, 4.1vw, 20px) !important;
}
/* Recent Events widget - mobile text sizing */
.rpg-notebook-title {
font-size: clamp(9px, 2.2vw, 11px) !important;
}
.rpg-bullet {
font-size: clamp(9px, 2.2vw, 11px) !important;
}
.rpg-event-text {
font-size: clamp(8px, 2vw, 10px) !important;
}
/* ========================================
MOBILE STATS TAB LAYOUT IMPROVEMENTS
======================================== */