mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-23 12:44:12 -08:00
fixes margin for the sidebar using rtl languages
This commit is contained in:
parent
549dec9f9e
commit
ad5768d8b2
|
@ -426,7 +426,11 @@ dir="{{ Helper::determineLanguageDirection() }}">
|
|||
<!-- sidebar: style can be found in sidebar.less -->
|
||||
<section class="sidebar">
|
||||
<!-- sidebar menu: : style can be found in sidebar.less -->
|
||||
<ul class="sidebar-menu" data-widget="tree">
|
||||
@if(\App\Helpers\Helper::determineLanguageDirection() === 'rtl')
|
||||
<ul class="sidebar-menu" data-widget="tree" style="margin-right:12px;">
|
||||
@else
|
||||
<ul class="sidebar-menu" data-widget="tree">
|
||||
@endif
|
||||
@can('admin')
|
||||
<li {!! (\Request::route()->getName()=='home' ? ' class="active"' : '') !!} class="firstnav">
|
||||
<a href="{{ route('home') }}">
|
||||
|
|
Loading…
Reference in a new issue