templates/print/partials/header.tex.erb in stockor-0.4.0 vs templates/print/partials/header.tex.erb in stockor-0.5.0
- old
+ new
@@ -1,6 +1,6 @@
\lhead{
- \begin{tabularx}{\textwidth} {lXr}
+ \begin{tabularx}{\textwidth} {l>{\raggedright\arraybackslash}Xr}
%<% if @location.get_logo.present? %>
\raisebox{1mm}{\includegraphics[align=t,height=18mm,keepaspectratio]{<%= @location.get_logo.file.path %>}}
%<% end %>
& \small <%= break_lines @location.address.to_s(include: [:email,:phone]) -%>
& \raisebox{-6.5mm}{{\begin{tabularx}{4cm}{Xr}