From 9f31b9de12a3bc48b7297098c2bd7a0357fe1ae4 Mon Sep 17 00:00:00 2001 From: Carlos Goce Date: Mon, 26 Jan 2015 00:48:07 +0100 Subject: Improve design --- lib/carlosgoce/layout/layouts.rb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'lib/carlosgoce/layout') diff --git a/lib/carlosgoce/layout/layouts.rb b/lib/carlosgoce/layout/layouts.rb index 5ddb471..cca35c9 100644 --- a/lib/carlosgoce/layout/layouts.rb +++ b/lib/carlosgoce/layout/layouts.rb @@ -21,14 +21,13 @@ module CarlosGoce cell_style: { width: 15, height: 12, align: :center, size: 7, border_width: 0, - padding: 0 + padding: 0, valign: :center }) end table( - tables.each_slice(3).to_a, - cell_style: {align: :center, padding: [5, 5, 5, 5], - border_width: 0} + tables.each_slice(3).to_a, cell_style: {align: :center, padding: [5, 5, 5, 5], border_width: 0, + valign: :center} ) end end -- cgit v1.2.3