clay-server 2.26.0-beta.11 → 2.26.0-beta.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/public/app.js +7 -4
- package/lib/public/css/debate.css +6 -0
- package/package.json +1 -1
package/lib/public/app.js
CHANGED
|
@@ -7439,7 +7439,13 @@ import { initDebate, handleDebatePreparing, handleDebateStarted, handleDebateRes
|
|
|
7439
7439
|
return;
|
|
7440
7440
|
}
|
|
7441
7441
|
|
|
7442
|
-
//
|
|
7442
|
+
// Show bottom bar regardless of header availability
|
|
7443
|
+
if (phase === "live") {
|
|
7444
|
+
debateHandRaiseOpen = false;
|
|
7445
|
+
showDebateBottomBar("live");
|
|
7446
|
+
}
|
|
7447
|
+
|
|
7448
|
+
// Add badges next to header title (optional, may not exist on mobile)
|
|
7443
7449
|
var headerTitle = document.getElementById("header-title");
|
|
7444
7450
|
if (!headerTitle) return;
|
|
7445
7451
|
|
|
@@ -7459,9 +7465,6 @@ import { initDebate, handleDebatePreparing, handleDebateStarted, handleDebateRes
|
|
|
7459
7465
|
roundBadge.id = "debate-header-round";
|
|
7460
7466
|
roundBadge.textContent = "R" + ((msg && msg.round) || 1);
|
|
7461
7467
|
liveBadge.after(roundBadge);
|
|
7462
|
-
|
|
7463
|
-
debateHandRaiseOpen = false;
|
|
7464
|
-
showDebateBottomBar("live");
|
|
7465
7468
|
}
|
|
7466
7469
|
}
|
|
7467
7470
|
|
|
@@ -1302,6 +1302,12 @@
|
|
|
1302
1302
|
padding: 12px 16px;
|
|
1303
1303
|
}
|
|
1304
1304
|
|
|
1305
|
+
@media (max-width: 768px) {
|
|
1306
|
+
#debate-bottom-bar {
|
|
1307
|
+
padding-bottom: calc(12px + 56px + var(--safe-bottom, 0px));
|
|
1308
|
+
}
|
|
1309
|
+
}
|
|
1310
|
+
|
|
1305
1311
|
.debate-bottom-inner {
|
|
1306
1312
|
max-width: var(--content-width);
|
|
1307
1313
|
margin: 0 auto;
|
package/package.json
CHANGED