From 38a988445e5fa47b66c0a27cc92de91aa5560fdd Mon Sep 17 00:00:00 2001 From: "Grigorii K. Shartsev" Date: Wed, 24 Jul 2024 12:45:35 +0200 Subject: [PATCH] docs(NcAppSidebar): add exposed CSS variables docs section Signed-off-by: Grigorii K. Shartsev --- src/components/NcAppSidebar/NcAppSidebar.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/components/NcAppSidebar/NcAppSidebar.vue b/src/components/NcAppSidebar/NcAppSidebar.vue index b04b1c93eb..76e135a4e6 100644 --- a/src/components/NcAppSidebar/NcAppSidebar.vue +++ b/src/components/NcAppSidebar/NcAppSidebar.vue @@ -4,6 +4,13 @@ --> +### Exposed CSS Variables + +| Variable | Description | +|-------------------------|-------------------------------------------------------------------------------------------------------------------------------------------| +| `--app-sidebar-padding` | The padding between the toggle button and the page border. | +| `--app-sidebar-offset` | The minimal offset width required to be reserved for the toggle button.
Automatically changes to 0 when there is no toggle button. | + ### General description This component provides a way to include the standardised sidebar.