File tree Expand file tree Collapse file tree 3 files changed +3
-61
lines changed
Rock.JavaScript.Obsidian/Framework/Controls Expand file tree Collapse file tree 3 files changed +3
-61
lines changed Original file line number Diff line number Diff line change 11<!-- Copyright by the Spark Development Network; Licensed under the Rock Community License -->
22<template>
3- <div class="scrollbar-thin picker-body border border-gray-300 rounded overflow-visible overflow-y-auto position-relative z-0" :style="`height: ${height}`">
3+ <div class="picker-body border border-gray-300 rounded overflow-visible overflow-y-auto position-relative z-0" :style="`height: ${height}`">
44 <TreeList v-model="internalValues"
55 :multiple="multiple"
66 :provider="itemProvider"
1313 </div>
1414</template>
1515
16- <style scoped>
17- .scrollbar-thin {
18- scrollbar-width: thin;
19- }
20-
21- .scrollbar-thin::-webkit-scrollbar {
22- width: 8px;
23- border-radius: 4px;
24- }
25-
26- .scrollbar-thin::-webkit-scrollbar-button {
27- display: none;
28- }
29-
30- .scrollbar-thin::-webkit-scrollbar-thumb {
31- background-color: #858585;
32- border-radius: 4px;
33- }
34-
35- .scrollbar-thin::-webkit-scrollbar-thumb:hover {
36- background-color: #6b6b6b;
37- }
38-
39- .scrollbar-thin::-webkit-scrollbar-track {
40- background-color: #f0f0f0;
41- border-radius: 4px;
42- }
43- </style>
44-
4516<script setup lang="ts">
4617 import { type PropType, ref, watch, watchEffect } from "vue";
4718 import TreeList from "./treeList.obs";
Original file line number Diff line number Diff line change 11<!-- Copyright by the Spark Development Network; Licensed under the Rock Community License -->
22<template>
3- <div class="scrollbar-thin picker-body border border-gray-300 rounded overflow-visible overflow-y-auto position-relative z-0" :style="`height: ${height}`">
3+ <div class="picker-body border border-gray-300 rounded overflow-visible overflow-y-auto position-relative z-0" :style="`height: ${height}`">
44 <TreeList v-model="internalValues"
55 :multiple="multiple"
66 :provider="itemProvider"
1313 </div>
1414</template>
1515
16- <style scoped>
17- .scrollbar-thin {
18- scrollbar-width: thin;
19- }
20-
21- .scrollbar-thin::-webkit-scrollbar {
22- width: 8px;
23- border-radius: 4px;
24- }
25-
26- .scrollbar-thin::-webkit-scrollbar-button {
27- display: none;
28- }
29-
30- .scrollbar-thin::-webkit-scrollbar-thumb {
31- background-color: #858585;
32- border-radius: 4px;
33- }
34-
35- .scrollbar-thin::-webkit-scrollbar-thumb:hover {
36- background-color: #6b6b6b;
37- }
38-
39- .scrollbar-thin::-webkit-scrollbar-track {
40- background-color: #f0f0f0;
41- border-radius: 4px;
42- }
43- </style>
44-
4516<script setup lang="ts">
4617 import { type PropType, ref, watch, watchEffect } from "vue";
4718 import { SiteType } from "@Obsidian/Enums/Cms/siteType";
Original file line number Diff line number Diff line change 406406 });
407407
408408 const panelBodyClass = computed<string[]>(() => {
409- const classes = ["panel-body"];
409+ const classes = ["panel-body styled-scroll "];
410410
411411 if (props.panelBodyCssClass) {
412412 classes.push(props.panelBodyCssClass);
You can’t perform that action at this time.
0 commit comments