releaf-core 3.0.2 → 3.0.3

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: 5026620748debd33f54b4dba11c345caeeb335f2f2c8a60f479ec10b68647baf
4
- data.tar.gz: 035c91432d1363bcef0d028fc3e52299b5896927fdcc6b6027f5c60a74aa4daa
3
+ metadata.gz: 0bd0667aa1fffd4e7fd143dfa33983a318bbc7bbf522224b064410991f67deb1
4
+ data.tar.gz: 128e91a616263be4a7414ebb5717cb4caac549df9292d4ade4f004d879b978df
5
5
  SHA512:
6
- metadata.gz: 944f3b1c6671c56db1dc22a93928753c0db339cd85c28e17ba2ca736fc704651f00326b08bda231c82690bb12eb10769c9b9bd5b42b1a28ef3b622b7cee281bc
7
- data.tar.gz: 8836962b0bcdff695f016b2df39854f15ff393e4b65f939db911a134c1d8200c9f56b5c369366a113141e0a5d728e90f71d0de4ae3811c67c683eb931970160b
6
+ metadata.gz: 79c6f2444daddebf14c95b3a33ab9b89b26c5ad00217625d417b7ed21d25c962713db813364c66877ac9d629881c53d9e516c866c0f12000a5a347e3849466f5
7
+ data.tar.gz: 1742fd4de64251ea131a64806819fe3821f95fe787c1127708756dfeb759a41302ad4068b73a146223e7c87245c956ffecc18753c6a598ffab1993ae46681697
@@ -13,7 +13,7 @@ module Releaf::Builders::FormBuilder::FileFields
13
13
  if object.send(name).present?
14
14
  content += tag(:div, class: "value-preview") do
15
15
  inner_content = tag(:div, class: "image-wrap") do
16
- thumbnail = image_tag(object.send(name).thumb('410x128>').url, alt: '')
16
+ thumbnail = image_tag(object.send(name).thumb('400x400>').url, alt: '')
17
17
  hidden_field("retained_#{name}") +
18
18
  link_to(thumbnail, object.send(name).url, target: :_blank, class: :ajaxbox, rel: :image)
19
19
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: releaf-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.2
4
+ version: 3.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - CubeSystems
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-17 00:00:00.000000000 Z
11
+ date: 2023-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails