material_raingular 0.0.6 → 0.0.7
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ddd28998b4e2f2bd41a91280caced0da45eae4b4
|
4
|
+
data.tar.gz: dad9ec2912ce81cdef5a64996edf20be40b7076c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0772699cd84a41a42cab1d0fd59086eed6a24dec88d8657bfeb77caa1a57d1761988faa08916fa2f29d0bddacf641b2f2199091d98fab3865fced37f755564f2
|
7
|
+
data.tar.gz: 70fb0fe98301c58b7c816abc6c300c7cc750ed0bc95eb0007f0bf5c06bf3f066820a8c6174479a329ba71efc081472b33ba7f3ebde2d7a38e73aca338c38a53e
|
@@ -87,7 +87,13 @@ class StandardTemplate
|
|
87
87
|
searchCss = window.getComputedStyle(@search[0])
|
88
88
|
@typeAhead.css('white-space', 'nowrap')
|
89
89
|
@typeAhead.css('padding-left', parseFloat(searchCss["padding-left"]) + parseFloat(searchCss["margin-left"]) + parseFloat(searchCss["border-left-width"]) + 'px')
|
90
|
-
|
90
|
+
padding = parseFloat(searchCss["padding-top"]) + parseFloat(searchCss["margin-top"]) + parseFloat(searchCss["border-top-width"])
|
91
|
+
parent = @element[0]
|
92
|
+
until parent.tagName == 'TD'
|
93
|
+
break unless parent.parentNode
|
94
|
+
parent = parent.parentNode
|
95
|
+
padding += 1 unless parent.tagName == 'TD'
|
96
|
+
@typeAhead.css('padding-top', padding + 'px')
|
91
97
|
|
92
98
|
bind: ->
|
93
99
|
@search.bind 'input', (event)=>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: material_raingular
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Moody
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-04-
|
11
|
+
date: 2016-04-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|