Skip to content

Commit 08c2483

Browse files
committed
update bar size
1 parent b777c21 commit 08c2483

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

docs/.vitepress/theme/components/VPCarbonAds.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ if (carbonOptions) {
6060
align-items: center;
6161
padding: 24px;
6262
border-radius: 12px;
63-
min-height: 100px;
64-
max-height: 220px;
63+
max-width: 300px;
6564
text-align: center;
6665
line-height: 18px;
6766
font-size: 12px;

docs/.vitepress/theme/styles.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,9 @@
8484
.DocSearch {
8585
--docsearch-primary-color: var(--vp-c-brand-1) !important;
8686
}
87+
88+
/* sidebar */
89+
:root {
90+
--vp-sidebar-width: 300px;
91+
--vp-sidebar-bg-color: var(--vp-c-bg-alt);
92+
}

0 commit comments

Comments
 (0)