Skip to content

Commit

Permalink
Merge pull request #97 from Gustavinho/hotfix/notification-blocks-action
Browse files Browse the repository at this point in the history
hotfix: make the alert container smaller
  • Loading branch information
Gustavinho authored May 17, 2021
2 parents 75ed0b9 + dee3448 commit 3550ee7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/table-view.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ This view creates a dynamic data table with some features like filters, paginati
- [Actions](#actions)
- [Registering actions](#registering-actions)
- [Redirect action](#redirect-action)
- [Showing feedback messages](#showing-alert-messages)
- [Showing feedback messages](#showing-feedback-messages)
- [Hiding actions](#hiding-actions)
- [Confirmation message](#confirmation-message)
- [Showing UI components](#showing-ui-components)
Expand Down
2 changes: 1 addition & 1 deletion resources/views/components/alert.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
$alertType = isset($type) ? $type : 'success';
@endphp

<div class="fixed z-50 bottom-0 left-0 w-full p-4 md:w-1/2 md:top-0 md:right-0 md:p-8 md:left-auto xl:w-1/3">
<div class="fixed z-50 bottom-0 left-0 w-full p-4 md:w-1/2 md:top-0 md:bottom-auto md:right-0 md:p-0 md:pt-8 md:pr-8 md:left-auto xl:w-1/3">
<div class="{{ variants()->alert($alertType)->class('base') }} rounded p-4 flex items-center shadow-lg">
<div class="{{ variants()->alert($alertType)->class('icon') }} mr-4 rounded-full p-2">
<div class="{{ variants()->alert($alertType)->class('base') }} rounded-full p-1 border-2">
Expand Down

0 comments on commit 3550ee7

Please sign in to comment.