File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ watch(selectedSnippet, () => {
3838 v-model =" description"
3939 :focus =" show"
4040 variant =" ghost"
41+ :scrollbar-options =" { suppressScrollX: true }"
4142 />
4243 </div >
4344</template >
Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ provide(treeKeys, {
178178 <PerfectScrollbar
179179 v-if =" modelValue.length"
180180 ref =" scrollRef"
181- :options =" { minScrollbarLength: 20 }"
181+ :options =" { minScrollbarLength: 20, suppressScrollX: true }"
182182 >
183183 <ContextMenu .Root >
184184 <ContextMenu .Trigger as-child >
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ function onUpdateContextMenu(bool: boolean) {
7272 <PerfectScrollbar
7373 v-if =" tags.length"
7474 data-sidebar-tags
75- :options =" { minScrollbarLength: 20 }"
75+ :options =" { minScrollbarLength: 20, suppressScrollX: true }"
7676 >
7777 <ContextMenu .Root @update:open =" onUpdateContextMenu" >
7878 <ContextMenu .Trigger >
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ watch(displayedSnippets, () => {
4646 <PerfectScrollbar
4747 v-if =" displayedSnippets?.length"
4848 ref =" scrollbarRef"
49- :options =" { minScrollbarLength: 20 }"
49+ :options =" { minScrollbarLength: 20, suppressScrollX: true }"
5050 >
5151 <div class =" flex-grow overflow-y-auto px-2" >
5252 <SnippetItem
Original file line number Diff line number Diff line change @@ -347,7 +347,7 @@ watch(
347347 >
348348 <PerfectScrollbar
349349 ref =" scrollbarRef"
350- :options =" { minScrollbarLength: 20 }"
350+ :options =" { minScrollbarLength: 20, suppressScrollX: true }"
351351 >
352352 <ul class =" w-full p-1" >
353353 <li
You can’t perform that action at this time.
0 commit comments