fixes margin for the sidebar using rtl languages

This commit is contained in:
Godfrey M 2024-09-09 12:45:11 -07:00
parent 549dec9f9e
commit ad5768d8b2

View file

@ -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 -->
@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') }}">