From d74d4423a2e91de70ddc5f8e6eacf6d9b6029832 Mon Sep 17 00:00:00 2001 From: Paul Ganssle Date: Sun, 1 Dec 2024 14:57:14 -0500 Subject: [PATCH] Fix issues with profile setting dialog 1. More gracefully handle the situation where we get into an illegal state where the profile ID corresponds to a deleted or otherwise non-existent profile. 2. Switch the profile adder / settings adjuster dialogue away from being an infobox, so now the only way to toggle it is with the X or one of the buttons. 3. Make it so that you fall back to the guest profile when a profile is deleted. 4. Various fixes related to visibility of the profile settings adder / adjuster in different scenarios. --- _sass/_cim.scss | 4 ++-- index.html | 4 ++-- js/cim.js | 40 +++++++++++++++++++++++++++++----------- 3 files changed, 33 insertions(+), 15 deletions(-) diff --git a/_sass/_cim.scss b/_sass/_cim.scss index 8de9a18..6def262 100644 --- a/_sass/_cim.scss +++ b/_sass/_cim.scss @@ -560,8 +560,8 @@ body.colorscheme-dark .infobox { left: 50%; top: 50%; transform: translate(-50%, -50%); - width: 30vw; // Fallback - width: 30dvw; + width: 50vw; // Fallback + width: 50dvw; padding: 10px; border: 1px solid #cccccc; border-radius: 5px; diff --git a/index.html b/index.html index 99893e1..e66e3d1 100644 --- a/index.html +++ b/index.html @@ -315,7 +315,7 @@
- +
@@ -346,7 +346,7 @@
- +