@@ -56,9 +56,15 @@ export const WorkspaceEntry: FunctionComponent<Props> = ({ info, shortVersion })
56
56
[ workspace . id ] ,
57
57
) ;
58
58
59
+ let gridCol =
60
+ "grid-cols-[minmax(32px,32px),minmax(100px,auto),minmax(100px,300px),minmax(80px,160px),minmax(32px,32px),minmax(32px,32px)]" ;
61
+ if ( shortVersion ) {
62
+ gridCol = "grid-cols-[minmax(32px,32px),minmax(100px,auto)]" ;
63
+ }
64
+
59
65
return (
60
- < Item className = " whitespace-nowrap py-6" solid = { menuActive } >
61
- < ItemFieldIcon >
66
+ < Item className = { ` whitespace-nowrap py-6 px-4 gap-3 grid ${ gridCol } ` } solid = { menuActive } >
67
+ < ItemFieldIcon className = "min-w-8" >
62
68
< WorkspaceStatusIndicator status = { workspace ?. status } />
63
69
</ ItemFieldIcon >
64
70
< div className = "flex-grow flex flex-col h-full py-auto truncate" >
@@ -77,7 +83,7 @@ export const WorkspaceEntry: FunctionComponent<Props> = ({ info, shortVersion })
77
83
</ div >
78
84
{ ! shortVersion && (
79
85
< >
80
- < div className = "w-2/12 sm:w-3/12 xl:w-4/12 flex flex-col xl:flex-row xl:items-center xl:gap-6 justify-between px-1 md:px-3 " >
86
+ < div className = "flex flex-col justify-between" >
81
87
< div className = "text-gray-500 dark:text-gray-400 flex flex-row gap-1 items-center overflow-hidden" >
82
88
< div className = "min-w-4" >
83
89
< GitBranchIcon className = "h-4 w-4" />
@@ -86,14 +92,11 @@ export const WorkspaceEntry: FunctionComponent<Props> = ({ info, shortVersion })
86
92
{ currentBranch }
87
93
</ Tooltip >
88
94
</ div >
89
- < div className = "mr-auto xl:hidden " >
95
+ < div className = "mr-auto" >
90
96
< PendingChangesDropdown gitStatus = { gitStatus } />
91
97
</ div >
92
98
</ div >
93
- < div className = "hidden xl:flex xl:items-center xl:min-w-46" >
94
- < PendingChangesDropdown gitStatus = { gitStatus } />
95
- </ div >
96
- < div className = "px-1 md:px-3 flex items-center min-w-96 w-28 lg:w-44 text-right" >
99
+ < div className = "flex items-center" >
97
100
< Tooltip
98
101
content = { `Last Activate ${ dayjs (
99
102
info . status ! . phase ! . lastTransitionTime ! . toDate ( ) ,
@@ -105,7 +108,7 @@ export const WorkspaceEntry: FunctionComponent<Props> = ({ info, shortVersion })
105
108
</ div >
106
109
</ Tooltip >
107
110
</ div >
108
- < div className = "px-1 md:px-3 flex items-center" >
111
+ < div className = "min-w-8 flex items-center" >
109
112
< div
110
113
onClick = { togglePinned }
111
114
className = {
0 commit comments