Added nowrap to keep dates in line

This commit is contained in:
Dominik Süß 2016-10-25 15:38:07 +02:00 committed by Simon Michael
parent c61aedd106
commit c6c2a93f01

View File

@ -63,7 +63,7 @@ journalTransactionsReportAsHtml _ vd (_,items) = [hamlet|
itemAsHtml :: ViewData -> (Int, Bool, Bool, Bool, TransactionsReportItem) -> HtmlUrl AppRoute itemAsHtml :: ViewData -> (Int, Bool, Bool, Bool, TransactionsReportItem) -> HtmlUrl AppRoute
itemAsHtml VD{..} (_, _, _, _, (torig, _, split, _, amt, _)) = [hamlet| itemAsHtml VD{..} (_, _, _, _, (torig, _, split, _, amt, _)) = [hamlet|
<tr .title #transaction-#{tindex torig}> <tr .title #transaction-#{tindex torig}>
<td .date>#{date} <td .date nowrap>#{date}
<td .description colspan=2>#{textElideRight 60 desc} <td .description colspan=2>#{textElideRight 60 desc}
<td .amount style="text-align:right;"> <td .amount style="text-align:right;">
$if showamt $if showamt