Skip to content

Commit ea77f7e

Browse files
Merge pull request #50 from linked-planet/dev
places toast close button again on top right (instead of center)
2 parents 5d3fae5 + 49a71dd commit ea77f7e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

library/src/components/ToastFlag.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ function CloseButton({
7777
type="button"
7878
data-id="flag-close-button"
7979
ref={ref}
80-
className={`cursor-pointer ${
80+
className={`cursor-pointer mb-auto ${
8181
inverted ? "text-text" : "text-text-inverse"
8282
}`}
8383
onClick={closeToast}

showcase/public/showcase-sources.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7893,7 +7893,6 @@ export default function TimeTableShowcase(props: ShowcaseProps) {
78937893
)
78947894
}
78957895

7896-
import React from "react"
78977896
import ShowcaseWrapperItem, {
78987897
type ShowcaseProps,
78997898
} from "../../ShowCaseWrapperItem/ShowcaseWrapperItem"
@@ -7944,6 +7943,7 @@ function ExampleShowExtendedFlag() {
79447943
title: "1: This flag does not disappear!",
79457944
description:
79467945
"This is a standard not disappearing toast flag.",
7946+
autoClose: false,
79477947
})
79487948
}
79497949
>

0 commit comments

Comments
 (0)