File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ export function MyToastRegion() {
4040 // The ToastRegion should be rendered at the root of your app.
4141 < ToastRegion
4242 queue = { queue }
43- className = "fixed bottom-4 right-4 flex flex-col-reverse gap-2 outline-none focus-visible:outline-2 focus-visible:outline-blue-600 focus-visible:outline-offset-2" >
43+ className = "fixed bottom-4 right-4 flex flex-col-reverse gap-2 rounded-lg outline-none focus-visible:outline-solid focus-visible:outline-2 focus-visible:outline-blue-600 focus-visible:outline-offset-2" >
4444 { ( { toast} ) => (
4545 < MyToast toast = { toast } >
4646 < ToastContent className = "flex flex-col flex-1 min-w-0" >
@@ -52,7 +52,7 @@ export function MyToastRegion() {
5252 < Button
5353 slot = "close"
5454 aria-label = "Close"
55- className = "flex flex-none appearance-none w-8 h-8 rounded-sm bg-transparent border-none text-white p-0 outline-none hover:bg-white/10 pressed:bg-white/15 focus-visible:outline-2 focus-visible:outline-white focus-visible:outline-offset-2 items-center justify-center [-webkit-tap-highlight-color:transparent]" >
55+ className = "flex flex-none appearance-none w-8 h-8 rounded-sm bg-transparent border-none text-white p-0 outline-none hover:bg-white/10 pressed:bg-white/15 focus-visible:outline-solid focus-visible:outline- 2 focus-visible:outline-white focus-visible:outline-offset-2 items-center justify-center [-webkit-tap-highlight-color:transparent]" >
5656 < XIcon className = "w-4 h-4" />
5757 </ Button >
5858 </ MyToast >
@@ -68,7 +68,7 @@ export function MyToast(props: ToastProps<MyToastContent>) {
6868 style = { { viewTransitionName : props . toast . key } as CSSProperties }
6969 className = { composeTailwindRenderProps (
7070 props . className ,
71- "flex items-center gap-4 bg-blue-600 px-4 py-3 rounded-lg outline-none forced-colors:outline focus-visible:outline-2 focus-visible:outline-blue-600 focus-visible:outline-offset-2 [view-transition-class:toast] font-sans w-[230px]"
71+ "flex items-center gap-4 bg-blue-600 px-4 py-3 rounded-lg outline-none forced-colors:outline focus-visible:outline-solid focus-visible:outline- 2 focus-visible:outline-blue-600 focus-visible:outline-offset-2 [view-transition-class:toast] font-sans w-[230px]"
7272 ) }
7373 />
7474 ) ;
You can’t perform that action at this time.
0 commit comments