Changeset 0.7.0.13 (#38)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// ==========================================
|
||||
// Chat Switchboard – API Client (v0.7.0)
|
||||
// Chat Switchboard – API Client
|
||||
// ==========================================
|
||||
// Backend-only mode. Handles auth tokens and
|
||||
// all HTTP calls. No offline fallback.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// ==========================================
|
||||
// Chat Switchboard – Application (v0.6.1)
|
||||
// Chat Switchboard – Application
|
||||
// ==========================================
|
||||
|
||||
const App = {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// ==========================================
|
||||
// Chat Switchboard – EventBus (v0.5.3)
|
||||
// Chat Switchboard – EventBus
|
||||
// ==========================================
|
||||
// Labeled event bus with WebSocket bridge.
|
||||
// Components subscribe by label (supports * wildcard).
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// ==========================================
|
||||
// Chat Switchboard – UI (v0.6.1)
|
||||
// Chat Switchboard – UI
|
||||
// ==========================================
|
||||
|
||||
const UI = {
|
||||
@@ -466,7 +466,11 @@ const UI = {
|
||||
},
|
||||
|
||||
applyAppearance(scale, msgFont) {
|
||||
document.documentElement.style.zoom = scale / 100;
|
||||
const z = scale === 100 ? '' : scale / 100;
|
||||
// Zoom content areas + modals (but NOT .app or banners)
|
||||
document.querySelectorAll('.sidebar, .chat-area, .modal-overlay').forEach(el => el.style.zoom = z);
|
||||
const splash = document.getElementById('splashGate');
|
||||
if (splash) splash.style.zoom = z;
|
||||
document.documentElement.style.setProperty('--msg-font', msgFont + 'px');
|
||||
localStorage.setItem('cs-appearance', JSON.stringify({ scale, msgFont }));
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user