tao_ui 0.3.1 → 0.3.2

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: ee6b05f49e0e43ad8af6d4c3892d4a1374413e68
4
- data.tar.gz: 582484e7dc19711c619100c74baef68169f91c2f
3
+ metadata.gz: cefe6f2c608c23d8766f9486af61a85b8eafaf82
4
+ data.tar.gz: 1d1e4d78b2d6bb847c56b77d47907f956b0991f4
5
5
  SHA512:
6
- metadata.gz: 2847d22c0a417d414671c0b693e5719c26e5e4780d796e62df9e6768346132e80a14670814dd588dcb03f751223387c736d8475d58d10d46207f97ac201dd5b0
7
- data.tar.gz: 54d28c5be405b1cb81850b54c5f371ed3a6db96306a1faeafb9e6947cd560ed9948da30c1413e18962813869fa6debbae9a1d9d951078516c6cdeb1c5cb77669
6
+ metadata.gz: e1fb32b6e89077e61bcc2a060df81d78ce7c8d77bc6f23fc404957fa9c67f5895d82e57b297706cf17fbacd0e17ac4d848f2bd5dac5f1bd0b7677c7ed9656785
7
+ data.tar.gz: 6d600e74f2c4561f51967fcfbcf8f5352fe9776971048a53870eea524c29c0a31750a2bd93a5b0eceb7d6c7fc3d861ec9e8d09d56a5b25ce16829ce1ee84fb1a
@@ -51,11 +51,12 @@ Tao.Table.Expandable = ->
51
51
  $panelWrapper.css 'height', 0
52
52
  @
53
53
 
54
- _loadRemotePanel: ($panel) ->
55
- return unless $panel.is('[data-url]')
54
+ _loadRemotePanel: ($panelWrapper) ->
55
+ return unless $panelWrapper.is('[data-url]')
56
56
  $.ajax
57
- url: $panel.data('url')
57
+ url: $panelWrapper.data('url')
58
58
  method: 'get'
59
59
  dataType: 'script'
60
60
  .done ->
61
- $panel.removeAttr 'data-url'
61
+ $panelWrapper.removeAttr 'data-url'
62
+ $panelWrapper.css 'height', $panelWrapper[0].scrollHeight
@@ -92,7 +92,7 @@ $arrowSize: 1rem;
92
92
  &[direction='left-bottom'],
93
93
  &[direction='left-middle'] {
94
94
  .tao-popover-arrow {
95
- right: -$arrowSize;
95
+ right: -$arrowSize / 2;
96
96
  width: $arrowSize / 2;
97
97
  }
98
98
 
@@ -138,7 +138,7 @@ $arrowSize: 1rem;
138
138
  &[direction='top-right'],
139
139
  &[direction='top-center'] {
140
140
  .tao-popover-arrow {
141
- bottom: -$arrowSize;
141
+ bottom: -$arrowSize / 2;
142
142
  height: $arrowSize / 2;
143
143
  }
144
144
 
@@ -1,3 +1,3 @@
1
1
  module TaoUi
2
- VERSION = '0.3.1'
2
+ VERSION = '0.3.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tao_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - farthinker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-26 00:00:00.000000000 Z
11
+ date: 2017-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tao_on_rails