honey-cms 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/lib/cms/view_tags.rb CHANGED
@@ -17,6 +17,7 @@ class CMS::ViewTags
17
17
 
18
18
  def parse content, opts = {}
19
19
  setup(opts)
20
+ # content.gsub(/\xA0/u, ' ')
20
21
  content.gsub(/\{\{image [^}}]+\}\}/) do |tag|
21
22
  str, name, size = tag.match(/\{\{image (\w+) (\w+)\}\}/).to_a
22
23
  cms_image(name, size)
@@ -23,4 +23,8 @@ iframe {
23
23
 
24
24
  .cms-edit-link {
25
25
  form { display: none }
26
+ }
27
+
28
+ body {
29
+ padding-top: 80px;
26
30
  }
@@ -17,11 +17,11 @@
17
17
  }
18
18
 
19
19
  .missing-cms-image {
20
- font-family: $sans;
20
+ font-family: Arial;
21
21
  font-size: 16px;
22
22
  text-align: center;
23
- color: $grayLight;
24
- background-color: $grayLighter;
23
+ color: #ccc;
24
+ background-color: #eee;
25
25
  display: table-cell;
26
26
  vertical-align: middle;
27
27
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: honey-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: