Skip to content

Commit

Permalink
chore(NcAppSidebar): fix css vars doc
Browse files Browse the repository at this point in the history
Signed-off-by: Grigorii K. Shartsev <[email protected]>
  • Loading branch information
ShGKme committed Jul 24, 2024
1 parent 8f09b7f commit 2047167
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/components/NcAppSidebar/NcAppSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1244,9 +1244,14 @@ export default {
}
.content {
// A padding between the toggle button and the page border
/**
* The padding between the toggle button and the page border
*/
--app-sidebar-padding: calc(var(--default-grid-baseline, 4px) * 2);
// A padding between the toggle button and the page border
/**
* The minimal offset width required to be reserved for the toggle button.
* Automatically changes to 0 when there is no toggle button.
*/
--app-sidebar-offset: 0;
// Explicitly disable transition by default to enable it only when sidebar animation is active
// !important to override styles from an older version, because it's global non-scoped styles
Expand Down

0 comments on commit 2047167

Please sign in to comment.