Skip to content

Commit

Permalink
Merge pull request #99 from ruban-s/master
Browse files Browse the repository at this point in the history
Notifications Justified center on large display devices- fixed
  • Loading branch information
mckenziearts authored Mar 13, 2023
2 parents e12b9c1 + 4fa1d6d commit fa9fc59
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion resources/views/notifications/connectify.blade.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@if (session()->get('notify.model') === 'connect')
<div class="notify fixed inset-0 flex items-end justify-center px-4 py-6 pointer-events-none sm:p-6 sm:items-start sm:justify-end">
<div class="notify fixed inset-0 flex items-end justify-end px-4 py-6 pointer-events-none sm:p-6 sm:items-start sm:justify-end">
<div
x-data="{ show: @if(session()->get('notify.model') === 'connect') true @else false @endif }"
x-show="show"
Expand Down
2 changes: 1 addition & 1 deletion resources/views/notifications/drakify.blade.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@if (session()->get('notify.model') === 'drake')
<div class="notify fixed inset-0 flex items-end justify-center px-4 py-6 pointer-events-none sm:p-6 sm:items-start sm:justify-end">
<div class="notify fixed inset-0 flex items-end justify-end px-4 py-6 pointer-events-none sm:p-6 sm:items-start sm:justify-end">
<div
x-data="{ show: @if(session()->get('notify.model') === 'drake') true @else false @endif }"
x-transition:enter="transform ease-out duration-300 transition"
Expand Down
2 changes: 1 addition & 1 deletion resources/views/notifications/emotify.blade.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@if (session()->get('notify.model') === 'emotify')
<div class="notify fixed inset-0 flex items-end justify-center px-4 py-6 pointer-events-none sm:p-6 sm:items-start sm:justify-end">
<div class="notify fixed inset-0 flex items-end justify-end px-4 py-6 pointer-events-none sm:p-6 sm:items-start sm:justify-end">
<div
x-data="{ show: @if(session()->get('notify.model') === 'emotify') true @else false @endif }"
x-show="show"
Expand Down
2 changes: 1 addition & 1 deletion resources/views/notifications/smiley.blade.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@if (session()->get('notify.model') === 'smiley')
<div class="notify fixed inset-0 flex items-end justify-center px-4 py-6 pointer-events-none sm:p-6 sm:items-start sm:justify-end">
<div class="notify fixed inset-0 flex items-end justify-end px-4 py-6 pointer-events-none sm:p-6 sm:items-start sm:justify-end">
<div
x-data="{ show: @if(session()->get('notify.model') === 'smiley') true @else false @endif }"
x-init="setTimeout(() => { show = true }, 500)"
Expand Down
2 changes: 1 addition & 1 deletion resources/views/notifications/toast.blade.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@if (session()->get('notify.model') === 'toast')
<div class="notify fixed inset-0 flex items-end justify-center px-4 py-6 pointer-events-none sm:p-6 sm:items-start sm:justify-end">
<div class="notify fixed inset-0 flex items-end justify-end px-4 py-6 pointer-events-none sm:p-6 sm:items-start sm:justify-end">
<div
x-data="{ show: @if(session()->get('notify.model') === 'toast') true @else false @endif }"
x-show="show"
Expand Down

0 comments on commit fa9fc59

Please sign in to comment.