Skip to content

Commit

Permalink
feat: adjust offcanvas padding globally
Browse files Browse the repository at this point in the history
  • Loading branch information
pirhoo committed Sep 5, 2024
1 parent e16853b commit 537c7e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/PageOffcanvas/PageOffcanvas.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ defineProps({
:placement="placement"
hide-backdrop
:title="title"
header-class="page-offcanvas__header pb-4"
header-class="page-offcanvas__header"
>
<template #header="{ hide }">
<h5 v-if="title" class="page-offcanvas__header__title m-0">{{ title }}</h5>
Expand Down
2 changes: 2 additions & 0 deletions src/utils/settings.scss
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,8 @@ $modal-xl: 1140px;
$offcanvas-box-shadow: none;
$offcanvas-border-color: var(--bs-tertiary);
$offcanvas-width: 300px;
$offcanvas-padding-y: $spacer-lg;
$offcanvas-padding-x: $spacer-lg;

$kbd-padding-y: $spacer-xxs;
$kbd-padding-x: $spacer-xs;
Expand Down

0 comments on commit 537c7e0

Please sign in to comment.