mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
fix spacing between sidebar icons and link text
This commit is contained in:
parent
1823a23b2d
commit
f237bd958d
@ -9,7 +9,7 @@
|
|||||||
* @license https://opensource.org/licenses/AAL
|
* @license https://opensource.org/licenses/AAL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace App\Http\Controllers;
|
namespace App\Http\Controllers\ClientPortal;
|
||||||
|
|
||||||
use App\Filters\InvoiceFilters;
|
use App\Filters\InvoiceFilters;
|
||||||
use App\Jobs\Entity\ActionEntity;
|
use App\Jobs\Entity\ActionEntity;
|
||||||
|
@ -52,8 +52,8 @@ class PortalComposer
|
|||||||
|
|
||||||
$data = [];
|
$data = [];
|
||||||
|
|
||||||
$data[] = [ 'title' => ctrans('texts.dashboard'), 'url' => 'client.dashboard', 'icon' => 'fa fa-tachometer'];
|
$data[] = [ 'title' => ctrans('texts.dashboard'), 'url' => 'client.dashboard', 'icon' => 'fa fa-tachometer fa-fw fa-2x'];
|
||||||
$data[] = [ 'title' => ctrans('texts.invoices'), 'url' => 'client.invoices.index', 'icon' => 'fa fa-file-excel-o'];
|
$data[] = [ 'title' => ctrans('texts.invoices'), 'url' => 'client.invoices.index', 'icon' => 'fa fa-file-pdf-o fa-fw fa-2x'];
|
||||||
|
|
||||||
return $data;
|
return $data;
|
||||||
}
|
}
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
<ul class="nav">
|
<ul class="nav">
|
||||||
@foreach($portal['sidebar'] as $row)
|
@foreach($portal['sidebar'] as $row)
|
||||||
<li class="nav-item ">
|
<li class="nav-item ">
|
||||||
<a class="nav-link" href="{{ $row['url'] }}">
|
<a class="nav-link" href="{{ route($row['url']) }}">
|
||||||
<i class="{{$row['icon']}}"></i> {{ $row['title'] }}
|
<span><i class="{{$row['icon']}}"></i></span> <span> {{ $row['title'] }} </span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
@endforeach
|
@endforeach
|
||||||
|
Loading…
x
Reference in New Issue
Block a user