lib/renderers/html/spatial.rb in atome-0.5.5.8.5 vs lib/renderers/html/spatial.rb in atome-0.5.5.8.7
- old
+ new
@@ -62,6 +62,10 @@
html.style(:gap, "#{params}px")
end
new({ method: :display, renderer: :html }) do |params|
html.style(:display, params)
-end
\ No newline at end of file
+end
+
+new({renderer: :html, method: :center}) do |params|
+ html.center(params, attach)
+end