Add nowrap class to style.scss and update main-view.php for text formatting
This commit is contained in:
@@ -61,8 +61,8 @@
|
||||
<a href="/finances/main_view/tag-clear=true" class="btn btn-sm btn-success"><i class="fa fa-bars"></i>wszystkie</a>
|
||||
<?
|
||||
$max = $this->tags[0]['count'];
|
||||
$min = $this->tags[count($this->tags) - 1]['count'];
|
||||
if (count($this->tags) === 1)
|
||||
$min = is_array( $this -> tags ) ? $this -> tags[ count( $this -> tags ) - 1 ]['count'] : 0;
|
||||
if ( is_array( $thi -> tags ) and count( $this->tags) === 1)
|
||||
$min = 0;
|
||||
$step = ($max - $min) / 10;
|
||||
?>
|
||||
@@ -268,7 +268,7 @@
|
||||
<tbody>
|
||||
<? if ( is_array( $this -> operations_list ) ): foreach ( $this -> operations_list as $operation ):?>
|
||||
<tr>
|
||||
<td class="text-right">
|
||||
<td class="text-right nowrap">
|
||||
<?= $operation['date'];?>
|
||||
</td>
|
||||
<td class="text-right <?= $operation['amount'] > 0 ? 'text-success' : 'text-danger';?>">
|
||||
|
||||
Reference in New Issue
Block a user