File tree Expand file tree Collapse file tree
packages/ui/src/mosaic/account Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ export const accountButtonRecipe = defineSlotRecipe(theme => ({
127127 background : 'none' ,
128128 border : 'none' ,
129129 cursor : 'pointer' ,
130- textAlign : 'left ' ,
130+ textAlign : 'start ' ,
131131 color : theme . color . cardForeground ,
132132 ...theme . text ( 'sm' ) ,
133133 _hover : { backgroundColor : theme . color . muted } ,
@@ -232,7 +232,7 @@ export const accountButtonRecipe = defineSlotRecipe(theme => ({
232232 margin : 0 ,
233233 font : 'inherit' ,
234234 color : 'inherit' ,
235- textAlign : 'left ' ,
235+ textAlign : 'start ' ,
236236 cursor : 'pointer' ,
237237 } ,
238238 name : {
@@ -303,7 +303,7 @@ export const accountButtonRecipe = defineSlotRecipe(theme => ({
303303 background : 'none' ,
304304 border : 'none' ,
305305 cursor : 'pointer' ,
306- textAlign : 'left ' ,
306+ textAlign : 'start ' ,
307307 ...theme . text ( 'sm' ) ,
308308 color : theme . color . mutedForeground ,
309309 _hover : { backgroundColor : theme . color . muted } ,
@@ -334,7 +334,7 @@ export const accountButtonRecipe = defineSlotRecipe(theme => ({
334334 background : 'none' ,
335335 border : 'none' ,
336336 cursor : 'pointer' ,
337- textAlign : 'left ' ,
337+ textAlign : 'start ' ,
338338 ...theme . text ( 'sm' ) ,
339339 color : theme . color . mutedForeground ,
340340 _hover : { backgroundColor : theme . color . muted } ,
@@ -852,6 +852,7 @@ export function AccountButtonTrigger() {
852852 render = { ( { ref, ...triggerProps } ) => (
853853 < button
854854 ref = { ref }
855+ type = 'button'
855856 { ...triggerProps }
856857 { ...trigger }
857858 >
@@ -866,7 +867,7 @@ export function AccountButtonTrigger() {
866867 < Icon
867868 name = 'chevron-up-down'
868869 size = 'sm'
869- sx = { t => ( { marginLeft : 'auto' , color : t . color . mutedForeground } ) }
870+ sx = { t => ( { marginInlineStart : 'auto' , color : t . color . mutedForeground } ) }
870871 />
871872 </ button >
872873 ) }
You can’t perform that action at this time.
0 commit comments