bfg-common 1.2.137 → 1.2.139

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.
@@ -5,6 +5,8 @@
5
5
  z-index: 9999;
6
6
  overflow: hidden;
7
7
  width: 434px;
8
+ max-height: 530px;
9
+ overflow-y: auto;
8
10
 
9
11
  h3 {
10
12
  color: var(--global-font-color7);
@@ -58,7 +58,7 @@ const setTriggerElementWidth = (): void => {
58
58
  if (!id.value || !props.testId) return
59
59
 
60
60
  const element = document.querySelector(
61
- `#${id.value} [test-id="${props.testId}-container"]`
61
+ `#${id.value} #${props.testId}-container`
62
62
  )
63
63
  triggerElementWidth =
64
64
  element && element?.style?.display !== 'none'
@@ -81,9 +81,7 @@ let triggerElementWidth = 0
81
81
  const setTriggerElementWidth = (): void => {
82
82
  if (!id.value || !props.testId) return
83
83
 
84
- const element = document.querySelector(
85
- `#${id.value} [test-id="${props.testId}-item"]`
86
- )
84
+ const element = document.querySelector(`#${id.value} #${props.testId}-item`)
87
85
  if (
88
86
  element &&
89
87
  element?.style?.display !== 'none' &&
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.2.137",
4
+ "version": "1.2.139",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",