File tree Expand file tree Collapse file tree 1 file changed +21
-5
lines changed
client/packages/lowcoder/src/pages/common Expand file tree Collapse file tree 1 file changed +21
-5
lines changed Original file line number Diff line number Diff line change @@ -198,6 +198,25 @@ const ActionItem = styled.div`
198
198
}
199
199
` ;
200
200
201
+ const CreateWorkspaceItem = styled ( ActionItem ) `
202
+ color: #4965f2;
203
+ font-weight: 500;
204
+
205
+
206
+ &:hover {
207
+ background-color: #f0f5ff;
208
+ color: #3651d4;
209
+ }
210
+
211
+ svg {
212
+ color: #4965f2;
213
+ }
214
+
215
+ &:hover svg {
216
+ color: #3651d4;
217
+ }
218
+ ` ;
219
+
201
220
const EmptyState = styled . div `
202
221
padding: 20px 16px;
203
222
text-align: center;
@@ -336,13 +355,10 @@ export default function ProfileDropdown(props: DropDownProps) {
336
355
< EmptyState > No workspaces found</ EmptyState >
337
356
) }
338
357
</ WorkspaceList >
339
-
340
- { ! checkIsMobile ( window . innerWidth ) && (
341
- < ActionItem onClick = { handleCreateOrg } >
358
+ < CreateWorkspaceItem onClick = { handleCreateOrg } >
342
359
< AddIcon />
343
360
{ trans ( "profile.createOrg" ) }
344
- </ ActionItem >
345
- ) }
361
+ </ CreateWorkspaceItem >
346
362
</ WorkspaceSection >
347
363
) }
348
364
You can’t perform that action at this time.
0 commit comments