Skip to content

Commit

Permalink
size badge
Browse files Browse the repository at this point in the history
  • Loading branch information
mjy committed Feb 4, 2020
1 parent fe6b47f commit 8b097ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/collection_objects_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def collection_object_metadata_badge(collection_object)
a.stroke = 'grey'
a.link_title = "#{o.id.to_s} created #{time_ago_in_words(o.created_at)} ago by #{user_tag(o.creator)}"

c = Waxy::Render::Svg::Canvas.new(600, 400)
c = Waxy::Render::Svg::Canvas.new(22, 22)
c.body << Waxy::Render::Svg.rectangle(layout, [a], 0)
c.to_svg
end
Expand Down

0 comments on commit 8b097ed

Please sign in to comment.