File tree Expand file tree Collapse file tree 1 file changed +24
-21
lines changed
Expand file tree Collapse file tree 1 file changed +24
-21
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ const styles = {
2828 width : 20 ,
2929 height : 20 ,
3030 } ,
31+ buttonContainer : { flexShrink : 0 } ,
3132} ;
3233
3334type Props = { |
@@ -60,27 +61,29 @@ const UserChip = ({ onOpenProfile }: Props) => {
6061 />
6162 </ DotBadge >
6263 ) : (
63- < LineStackLayout noMargin >
64- < FlatButton
65- label = {
66- < span >
67- < Trans > Log in</ Trans >
68- </ span >
69- }
70- onClick = { onLogin }
71- leftIcon = { < Person fontSize = "small" /> }
72- />
73- < RaisedButton
74- label = {
75- < span >
76- < Trans > Create account</ Trans >
77- </ span >
78- }
79- onClick = { onCreateAccount }
80- primary
81- icon = { < Person fontSize = "small" /> }
82- />
83- </ LineStackLayout >
64+ < div style = { styles . buttonContainer } >
65+ < LineStackLayout noMargin alignItems = "center" >
66+ < FlatButton
67+ label = {
68+ < span >
69+ < Trans > Log in</ Trans >
70+ </ span >
71+ }
72+ onClick = { onLogin }
73+ leftIcon = { < Person fontSize = "small" /> }
74+ />
75+ < RaisedButton
76+ label = {
77+ < span >
78+ < Trans > Create account</ Trans >
79+ </ span >
80+ }
81+ onClick = { onCreateAccount }
82+ primary
83+ icon = { < Person fontSize = "small" /> }
84+ />
85+ </ LineStackLayout >
86+ </ div >
8487 ) ;
8588} ;
8689
You can’t perform that action at this time.
0 commit comments