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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user