File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
site/src/components/WorkspaceScheduleButton Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ export const WorkspaceScheduleButton: React.FC<WorkspaceScheduleButtonProps> = (
75
75
76
76
return (
77
77
< span className = { styles . wrapper } >
78
- < div className = { styles . label } >
78
+ < span className = { styles . label } >
79
79
< WorkspaceScheduleLabel workspace = { workspace } />
80
80
{ canUpdateWorkspace && shouldDisplayPlusMinus ( workspace ) && (
81
81
< Stack direction = "row" spacing = { 0 } >
@@ -101,7 +101,7 @@ export const WorkspaceScheduleButton: React.FC<WorkspaceScheduleButtonProps> = (
101
101
</ IconButton >
102
102
</ Stack >
103
103
) }
104
- </ div >
104
+ </ span >
105
105
< >
106
106
< Button
107
107
ref = { anchorRef }
@@ -137,16 +137,13 @@ export const WorkspaceScheduleButton: React.FC<WorkspaceScheduleButtonProps> = (
137
137
138
138
const useStyles = makeStyles ( ( theme ) => ( {
139
139
wrapper : {
140
- display : "flex" ,
141
- alignItems : "center" ,
140
+ display : "inline-block" ,
142
141
border : `1px solid ${ theme . palette . divider } ` ,
143
142
borderRadius : `${ theme . shape . borderRadius } px` ,
144
143
} ,
145
144
label : {
146
145
borderRight : 0 ,
147
146
height : "100%" ,
148
- display : "flex" ,
149
- alignItems : "center" ,
150
147
padding : "0 8px 0 16px" ,
151
148
color : theme . palette . text . secondary ,
152
149
// It is from the button props
You can’t perform that action at this time.
0 commit comments