Merge pull request #1720 from stackernews/fix-toast-padding
Fix missing toast padding
This commit is contained in:
commit
adfbdeddba
|
@ -118,7 +118,7 @@ export const ToastProvider = ({ children }) => {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ToastContext.Provider value={toaster}>
|
<ToastContext.Provider value={toaster}>
|
||||||
<ToastContainer className={`pb-3 pe-3 ${styles.toastContainer}`} position='bottom-end' containerPosition='fixed'>
|
<ToastContainer className={`pb-3 px-3 ${styles.toastContainer}`} position='bottom-end' containerPosition='fixed'>
|
||||||
{visibleToasts.map(toast => {
|
{visibleToasts.map(toast => {
|
||||||
const textStyle = toast.variant === 'warning' ? 'text-dark' : ''
|
const textStyle = toast.variant === 'warning' ? 'text-dark' : ''
|
||||||
const onClose = () => {
|
const onClose = () => {
|
||||||
|
|
Loading…
Reference in New Issue