maglove-widgets 1.0.3 → 1.0.4

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: dc3f692507ddddbb8614ae4530f7dc08b3237918
4
- data.tar.gz: f1cc799e032e7c6c154051e697dd4431409032f8
3
+ metadata.gz: e6eccddff4524f7c0829705aa0c5bb2dd48e9851
4
+ data.tar.gz: 85288f0919bfe5ae0d5f590887d98f9b6a13feb2
5
5
  SHA512:
6
- metadata.gz: 8ed554c236a3688de0959f6477a1fca81723eeeea51869d2509e93f7154a6e1ddf30742c100364a02f0f9b677236e10c2f67e3fe1911002dce2e8e7c70139ce9
7
- data.tar.gz: 608c088926aec99340c271be832ead126ed305fcc8d1758b4937670a5f2bdcded221f7ad64acae70830cf26e4872ea9448d7224ee53a60aa0d0ff90b46323c6e
6
+ metadata.gz: 8bc2a12339ca923f550fba9f2cbded8e28d198c3b9e186c75fdfc2d7f1faa60c337319b834e18da68476abbda6c1a06c344bd3692d80e1e11bc0dd68fe3e3b81
7
+ data.tar.gz: cab55dc4891c56a45cff1254103c267c3fb49ff0f8462f223413dad7d0cfef34b09fd74ff2f38b8df7753ae4797a38528835593b4fd898958d89e323ec7d2c00
@@ -28,7 +28,8 @@ module Maglove
28
28
  margin_top: "",
29
29
  margin_right: "",
30
30
  margin_bottom: "",
31
- margin_left: ""
31
+ margin_left: "",
32
+ overflow_y: ""
32
33
  }
33
34
  end
34
35
 
@@ -64,7 +65,7 @@ module Maglove
64
65
  end
65
66
 
66
67
  def image_styles
67
- style_string @options, :min_height, :max_height, :padding
68
+ style_string @options, :min_height, :max_height, :padding, :overflow_y
68
69
  end
69
70
 
70
71
  module Helpers
@@ -23,7 +23,7 @@ module Maglove
23
23
  module Helpers
24
24
  def video_widget(options = {})
25
25
  widget_block(Widgets::Video.new(options)) do |widget|
26
- haml_tag :div, class: "video-widget player-style-#{widget.options[:style]}" do
26
+ haml_tag :div, style: "margin-bottom: #{widget.options[:margin_bottom]}", class: "video-widget player-style-#{widget.options[:style]}" do
27
27
  haml_tag :video, controls: true, poster: widget.options[:poster], style: "width: 100%" do
28
28
  haml_tag :source, src: widget.options[:source].to_s, type: "video/mp4"
29
29
  end
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "maglove-widgets"
6
- s.version = "1.0.3"
6
+ s.version = "1.0.4"
7
7
  s.licenses = ["BSD-3-Clause"]
8
8
  s.platform = Gem::Platform::RUBY
9
9
  s.authors = ["Tobias Strebitzer"]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maglove-widgets
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Strebitzer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-14 00:00:00.000000000 Z
11
+ date: 2016-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler