mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 13:14:07 -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 -->
|
<!-- sidebar: style can be found in sidebar.less -->
|
||||||
<section class="sidebar">
|
<section class="sidebar">
|
||||||
<!-- sidebar menu: : style can be found in sidebar.less -->
|
<!-- sidebar menu: : style can be found in sidebar.less -->
|
||||||
|
@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">
|
<ul class="sidebar-menu" data-widget="tree">
|
||||||
|
@endif
|
||||||
@can('admin')
|
@can('admin')
|
||||||
<li {!! (\Request::route()->getName()=='home' ? ' class="active"' : '') !!} class="firstnav">
|
<li {!! (\Request::route()->getName()=='home' ? ' class="active"' : '') !!} class="firstnav">
|
||||||
<a href="{{ route('home') }}">
|
<a href="{{ route('home') }}">
|
||||||
|
|
Loading…
Reference in a new issue