mirror of
https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak.git
synced 2026-12-03 20:12:52 +08:00
fix(skins): correct full-surface layout and KAAK audio dock
This commit is contained in:
1 parent
54805f8928
commit
ad0aa5c120
7 files changed
+9
-2
No files matched your search
@@ -46,7 +46,7 @@ export const BUILTIN_SKIN_CATALOG: SkinCatalogEntry[] = [
|
||||
{
|
||||
id: BUILTIN_KAAK_SKIN_ID,
|
||||
name: "KAAK",
|
||||
version: "3.0.0",
|
||||
version: "3.0.1",
|
||||
author: "WebSpeak Project",
|
||||
license: "AGPL-3.0-only",
|
||||
description: "A complete dark voice workspace with server switching, channels, chat, members, and host-owned voice controls.",
|
||||
|
||||
@@ -463,6 +463,7 @@ test("the distributable KAAK package provides full home and voice surfaces", asy
|
||||
const file = new File([archive], "kaak-voice.wskin", { type: "application/octet-stream" });
|
||||
const skin = await importSkinPack(file);
|
||||
assert.equal(skin.id, "community.kaak-voice");
|
||||
assert.equal(skin.version, "3.0.1");
|
||||
assert.equal(skin.schemaVersion, 3);
|
||||
const home = skin.pluginData?.components.find((component) => component.page === "home");
|
||||
const voice = skin.pluginData?.components.find((component) => component.page === "voice");
|
||||
|
||||
@@ -43,6 +43,10 @@
|
||||
min-height: var(--ws-viewport-height, 100vh);
|
||||
}
|
||||
|
||||
/* Keep the skin-owned surface wrapper as the layout root; flatten its semantic
|
||||
root node so the authored panel parts can participate in that layout. */
|
||||
.ws-plugin-surface > [data-ws-plugin-part] { display: contents; }
|
||||
|
||||
.ws-plugin-host-widget {
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
|
||||
Reference in new issue
Block a user