Clean up settings button CSS custom properties

Remove undocumented --probo-settings-bottom variable and use the
shared --probo-z-index variable instead of --probo-settings-z-index.

Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
Émile Ré
2026-04-21 17:27:32 +04:00
parent 55d81e21eb
commit 6391d276d9

View File

@@ -42,9 +42,9 @@ export class ProboSettingsButton extends HTMLElement {
<style>
:host {
position: fixed;
bottom: var(--probo-settings-bottom, 16px);
bottom: 16px;
${isRight ? "right" : "left"}: var(--probo-settings-offset, 16px);
z-index: var(--probo-settings-z-index, 2147483645);
z-index: var(--probo-z-index, 2147483646);
}
:host([hidden]) { display: none; }
button {