diff options
author | Carlos Goce <carlosgoce@gmail.com> | 2015-01-26 00:48:07 +0100 |
---|---|---|
committer | Carlos Goce <carlosgoce@gmail.com> | 2015-01-26 00:48:07 +0100 |
commit | 9f31b9de12a3bc48b7297098c2bd7a0357fe1ae4 (patch) | |
tree | 3d4e6f73ca8d2890c1f64b0e5c1feac5588a8c2a | |
parent | d6baa769128cca9df6ed9144f4dc6b8a44f41b59 (diff) | |
download | pdf-calendars-9f31b9de12a3bc48b7297098c2bd7a0357fe1ae4.tar.gz pdf-calendars-9f31b9de12a3bc48b7297098c2bd7a0357fe1ae4.tar.bz2 pdf-calendars-9f31b9de12a3bc48b7297098c2bd7a0357fe1ae4.zip |
Improve design
-rw-r--r-- | lib/carlosgoce/layout/layouts.rb | 7 |
1 files changed, 3 insertions, 4 deletions
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 |