playbook_ui 8.2.1.pre.alpha3 → 8.2.1.pre.alpha4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 314e6230c5179ecceaeb56ca63191603784c7af71c836268e97e9ab7069b68b4
|
4
|
+
data.tar.gz: 341436409bbcaab017560735de6746411f1e81a78f32931ad2cb3688b6d7bf27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 546260d3d96158a93ea855723b52a20675165b784bbe02937249bd91afd18ad342c745b2893173b8653d6902e50c70d4234854838ee26c50fdad67413d2dba80
|
7
|
+
data.tar.gz: 83946aff7454d94f5eca74409560e844628cbec5eb6ceba521d2f61e14203a4131c02bfecd89a4e229c51f62a36f4ba5e29d96079329f153922b712a6b35817c
|
@@ -11,9 +11,9 @@ const Input = (props: any) => {
|
|
11
11
|
if (plusIcon) {
|
12
12
|
useEffect(() => {
|
13
13
|
const plusIcon = inputWrapper.current.querySelector('.typeahead-plus-icon')
|
14
|
-
const
|
15
|
-
if (
|
16
|
-
const offset =
|
14
|
+
const placeholder = inputWrapper.current.parentElement.querySelector('.placeholder')
|
15
|
+
if (placeholder){
|
16
|
+
const offset = placeholder.clientWidth
|
17
17
|
plusIcon.style.marginLeft = `${offset + 2}px`
|
18
18
|
} else {
|
19
19
|
plusIcon.style.marginLeft = '0px'
|
data/lib/playbook/version.rb
CHANGED