From e6fb03960dae30b6bb8eaa978e8618d952cab6cd Mon Sep 17 00:00:00 2001 From: Lorin Werthen Date: Tue, 10 Apr 2018 11:36:45 +0200 Subject: [PATCH] make figures full width instead of images --- lib/helpers/blog.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/helpers/blog.rb b/lib/helpers/blog.rb index bb06ad9..73bfd50 100644 --- a/lib/helpers/blog.rb +++ b/lib/helpers/blog.rb @@ -17,11 +17,11 @@ module BlogHelper def figure(img_url, caption, alt = nil, img_class: nil) alt ||= caption <<~HTML -
- - #{alt} - -
#{caption}
+
+ + #{alt} + +
#{caption}
HTML end