File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ const Toaster = ({ ...props }: ToasterProps) => {
1313 theme = { resolvedTheme as ToasterProps [ 'theme' ] }
1414 className = "toaster group font-body"
1515 dir = { dir }
16- position = ' top-right'
16+ position = { dir === 'rtl' ? ' top-left' : 'top- right'}
1717 toastOptions = { {
1818 classNames : {
1919 toast : 'group font-body toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg' ,
Original file line number Diff line number Diff line change @@ -389,7 +389,7 @@ const ActionButtons: FC<ActionButtonsProps> = ({ user }) => {
389389 </ DropdownMenuTrigger >
390390 < DropdownMenuContent >
391391 { subscribeLinks . map ( subLink => (
392- < DropdownMenuItem className = "justify-start p-0" key = { subLink . link } onClick = { ( ) => handleCopyOrDownload ( subLink ) } >
392+ < DropdownMenuItem dir = 'ltr' className = "justify-start p-0" key = { subLink . link } onClick = { ( ) => handleCopyOrDownload ( subLink ) } >
393393 < span className = "flex w-full items-center gap-2 px-2 py-1.5" >
394394 < span className = "text-sm" > { subLink . icon } </ span >
395395 < span > { subLink . protocol } </ span >
You can’t perform that action at this time.
0 commit comments