@@ -70,7 +70,7 @@ export const UserDropdown: React.FC<UserDropdownProps> = ({ user, onSignOut }: U
70
70
71
71
< Divider />
72
72
73
- < Link to = "/preferences" >
73
+ < Link to = "/preferences" className = { styles . link } >
74
74
< MenuItem className = { styles . menuItem } onClick = { handleDropdownClick } >
75
75
< ListItemIcon className = { styles . icon } >
76
76
< AccountIcon />
@@ -79,7 +79,7 @@ export const UserDropdown: React.FC<UserDropdownProps> = ({ user, onSignOut }: U
79
79
</ MenuItem >
80
80
</ Link >
81
81
82
- < a href = "https://coder.com/docs" target = "_blank" rel = "noreferrer" >
82
+ < a href = "https://coder.com/docs" target = "_blank" rel = "noreferrer" className = { styles . link } >
83
83
< MenuItem className = { styles . menuItem } onClick = { handleDropdownClick } >
84
84
< ListItemIcon className = { styles . icon } >
85
85
< DocsIcon />
@@ -115,18 +115,15 @@ export const useStyles = makeStyles((theme) => ({
115
115
116
116
userInfo : {
117
117
marginBottom : theme . spacing ( 1 ) ,
118
-
119
- "& a" : {
120
- textDecoration : "none" ,
121
- color : "inherit" ,
122
- } ,
123
118
} ,
119
+
124
120
arrowIcon : {
125
121
color : fade ( theme . palette . primary . contrastText , 0.7 ) ,
126
122
marginLeft : theme . spacing ( 1 ) ,
127
123
width : 16 ,
128
124
height : 16 ,
129
125
} ,
126
+
130
127
arrowIconUp : {
131
128
color : theme . palette . primary . contrastText ,
132
129
} ,
@@ -141,6 +138,11 @@ export const useStyles = makeStyles((theme) => ({
141
138
} ,
142
139
} ,
143
140
141
+ link : {
142
+ textDecoration : "none" ,
143
+ color : "inherit" ,
144
+ } ,
145
+
144
146
icon : {
145
147
color : theme . palette . text . secondary ,
146
148
} ,
0 commit comments