diff --git a/app/static/css/layout.css b/app/static/css/layout.css index fc94c65..83f03f5 100644 --- a/app/static/css/layout.css +++ b/app/static/css/layout.css @@ -157,11 +157,6 @@ body.drawer-open .drawer-backdrop { opacity: 1; } .tone-toggle button + button, .theme-toggle button + button, .lang-toggle button + button { border-left: 1px solid var(--border); } -/* The tone-toggle's longer option ("Intermediate", 12 chars) needs more - room than the shared 5.5em min-width. We size both buttons to fit the - longest one so the popup width (set by container width via left/right:0) - doesn't get clipped when only the short "Pro" label is active. */ -.tone-toggle button { min-width: 10em; } .tone-toggle button:hover, .theme-toggle button:hover, .lang-toggle button:hover { color: var(--accent); } diff --git a/app/templates/base.html b/app/templates/base.html index 7344b76..97028ab 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -234,16 +234,17 @@ Log
- {# The "Pro" label maps to the NOVICE tone server-side — kept that - way to avoid touching every stored user preference and API - contract. The mode itself (glossary tooltips + plainer - framing) is unchanged; only the display label changes. #} + {# The "Pro" label maps to the INTERMEDIATE tone server-side — + kept that way to avoid touching every stored user preference + and API contract. The mode itself (terse, no glossary + tooltips, assumes fluency) is unchanged; only the display + label changes. #}
+ onclick="cassandraSetTone('NOVICE')">Novice + onclick="cassandraSetTone('INTERMEDIATE')">Pro
diff --git a/app/templates/settings.html b/app/templates/settings.html index 37e88f7..ac0107d 100644 --- a/app/templates/settings.html +++ b/app/templates/settings.html @@ -185,9 +185,9 @@
+ {% if (user.digest_tone or 'INTERMEDIATE') == 'NOVICE' %}checked{% endif %}> Novice + {% if (user.digest_tone or 'INTERMEDIATE') == 'INTERMEDIATE' %}checked{% endif %}> Pro