Merge pull request #981 from maherelgamil/2.x

fix issue in global search results direction with RTL
This commit is contained in:
Dan Harrin
2021-12-23 09:35:10 +00:00
committed by GitHub
5 changed files with 4978 additions and 54 deletions
+4671 -3
View File
File diff suppressed because one or more lines are too long
+302 -48
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -1,4 +1,4 @@
{
"/app.js": "/app.js?id=1a349b8c0da0252b0831",
"/app.css": "/app.css?id=6e2f0ae4ebc8e2f2ec4f"
"/app.js": "/app.js",
"/app.css": "/app.css"
}
@@ -2,6 +2,8 @@
return [
'title' => 'اضافة :label',
'breadcrumb' => 'اضافة',
'form' => [
@@ -8,7 +8,7 @@
x-on:keydown.escape.window="isOpen = false"
x-on:click.away="isOpen = false"
x-on:open-global-search-results.window="isOpen = true"
{{ $attributes->class(['absolute right-0 rtl:left-0 top-auto z-10 mt-2 shadow-xl overflow-hidden rounded-xl w-screen max-w-xs sm:max-w-lg']) }}
{{ $attributes->class(['absolute right-0 rtl:right-auto rtl:left-0 top-auto z-10 mt-2 shadow-xl overflow-hidden rounded-xl w-screen max-w-xs sm:max-w-lg']) }}
>
<div class="overflow-y-scroll overflow-x-hidden max-h-96 bg-white shadow rounded-xl">
@forelse ($results as $group => $groupedResults)