@veritree/ui 0.21.1-7 → 0.21.1-8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veritree/ui",
3
- "version": "0.21.1-7",
3
+ "version": "0.21.1-8",
4
4
  "description": "veritree ui library",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -5,7 +5,7 @@
5
5
  // default styles
6
6
  headless
7
7
  ? 'listbox-item'
8
- : 'relative z-10 -mx-3 flex items-center gap-2 px-3 py-2 text-inherit no-underline hover:bg-secondary-200/10',
8
+ : 'relative z-10 flex items-center gap-2 px-3 py-2 text-inherit no-underline hover:bg-secondary-200/10',
9
9
  // disabled state styles
10
10
  headless
11
11
  ? disabled
@@ -1,5 +1,10 @@
1
1
  <template>
2
- <ul :id="id" :class="[headless ? 'listbox-list' : 'max-h-[160px] w-auto']">
2
+ <ul
3
+ :id="id"
4
+ :class="[
5
+ headless ? 'listbox-list' : 'max-h-[160px] w-auto overflow-y-auto -mx-3',
6
+ ]"
7
+ >
3
8
  <slot></slot>
4
9
  </ul>
5
10
  </template>