Skip to content

Commit 3550ee7

Browse files
authored
Merge pull request #97 from Gustavinho/hotfix/notification-blocks-action
hotfix: make the alert container smaller
2 parents 75ed0b9 + dee3448 commit 3550ee7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/table-view.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ This view creates a dynamic data table with some features like filters, paginati
2222
- [Actions](#actions)
2323
- [Registering actions](#registering-actions)
2424
- [Redirect action](#redirect-action)
25-
- [Showing feedback messages](#showing-alert-messages)
25+
- [Showing feedback messages](#showing-feedback-messages)
2626
- [Hiding actions](#hiding-actions)
2727
- [Confirmation message](#confirmation-message)
2828
- [Showing UI components](#showing-ui-components)

resources/views/components/alert.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
$alertType = isset($type) ? $type : 'success';
1919
@endphp
2020

21-
<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">
21+
<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">
2222
<div class="{{ variants()->alert($alertType)->class('base') }} rounded p-4 flex items-center shadow-lg">
2323
<div class="{{ variants()->alert($alertType)->class('icon') }} mr-4 rounded-full p-2">
2424
<div class="{{ variants()->alert($alertType)->class('base') }} rounded-full p-1 border-2">

0 commit comments

Comments
 (0)