File tree 1 file changed +11
-12
lines changed
site/src/pages/WorkspacePage 1 file changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -226,17 +226,7 @@ export const WorkspaceNotifications: FC<WorkspaceNotificationsProps> = (
226
226
) ;
227
227
228
228
return (
229
- < div
230
- css = { {
231
- display : "flex" ,
232
- alignItems : "center" ,
233
- gap : 12 ,
234
- position : "fixed" ,
235
- bottom : 48 ,
236
- right : 48 ,
237
- zIndex : 10 ,
238
- } }
239
- >
229
+ < div css = { styles . notifications } >
240
230
{ infoNotifications . length > 0 && (
241
231
< NotificationPill
242
232
notifications = { infoNotifications }
@@ -269,7 +259,7 @@ const NotificationPill: FC<NotificationPillProps> = (props) => {
269
259
return (
270
260
< Popover mode = "hover" >
271
261
< PopoverTrigger >
272
- < div css = { [ styles . pillContainer ] } >
262
+ < div css = { styles . pillContainer } >
273
263
< Pill type = { type } icon = { icon } >
274
264
{ notifications . length }
275
265
</ Pill >
@@ -336,6 +326,15 @@ const NotificationActionButton: FC<ButtonProps> = (props) => {
336
326
} ;
337
327
338
328
const styles = {
329
+ notifications : {
330
+ display : "flex" ,
331
+ alignItems : "center" ,
332
+ gap : 12 ,
333
+ position : "fixed" ,
334
+ bottom : 48 ,
335
+ right : 48 ,
336
+ zIndex : 10 ,
337
+ } ,
339
338
// Adds some spacing from the popover content
340
339
pillContainer : {
341
340
paddingTop : 8 ,
You can’t perform that action at this time.
0 commit comments