Skip to content

Commit

Permalink
fix: snackbar width causing unclickable background
Browse files Browse the repository at this point in the history
  • Loading branch information
miksuh-dev committed Mar 25, 2023
1 parent 37fb7bd commit ac780e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/context/snackbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const SnackbarProvider: Component<{
<SnackbarContext.Provider value={{ show, hide }}>
{props.children}
<Show when={snackbar()}>
<div class="absolute bottom-2 left-2 right-2 z-50 flex justify-center md:left-1/2 md:-translate-x-1/2">
<div class="absolute bottom-2 left-2 right-2 z-50 flex w-fit justify-center md:left-1/2 md:-translate-x-1/2">
<div
class="flex space-x-4 rounded-lg border-2 bg-neutral-100 p-4 dark:border-neutral-500 dark:bg-neutral-900"
role="alert"
Expand Down

0 comments on commit ac780e4

Please sign in to comment.