diff --git a/config/ags/js/bar/main.js b/config/ags/js/bar/main.js index 193e9e9..9fcd6d8 100644 --- a/config/ags/js/bar/main.js +++ b/config/ags/js/bar/main.js @@ -19,7 +19,7 @@ import { Revealer } from './fullscreen.js'; export const Bar = Window({ name: 'bar', layer: 'overlay', - anchor: 'top left right', + anchor: [ 'top', 'left', 'right' ], exclusive: true, child: Revealer({ child: CenterBox({ diff --git a/config/ags/js/date.js b/config/ags/js/date.js index 16d9225..e9bbe30 100644 --- a/config/ags/js/date.js +++ b/config/ags/js/date.js @@ -76,8 +76,9 @@ export const Calendar = Window({ name: 'calendar', layer: 'overlay', popup: true, - anchor: 'top right', + anchor: [ 'top', 'right' ], margin: [ 8, 182, 0, 0], + child: PopUp({ name: 'calendar', child: Box({ diff --git a/config/ags/js/misc/closer.js b/config/ags/js/misc/closer.js index ad78daf..74782e4 100644 --- a/config/ags/js/misc/closer.js +++ b/config/ags/js/misc/closer.js @@ -22,7 +22,7 @@ export const Closer = Window({ name: 'closer', popup: true, layer: 'top', - anchor: 'top bottom left right', + anchor: [ 'top', 'bottom', 'left', 'right' ], child: EventBox({ onPrimaryClickRelease: () => closeAll(), diff --git a/config/ags/js/notifications/center.js b/config/ags/js/notifications/center.js index b62b11f..c0dd361 100644 --- a/config/ags/js/notifications/center.js +++ b/config/ags/js/notifications/center.js @@ -138,9 +138,10 @@ const NotificationCenterWidget = Box({ export const NotificationCenter = Window({ name: 'notification-center', layer: 'overlay', - anchor: 'top right', + anchor: [ 'top', 'right' ], popup: true, margin: [ 8, 60, 0, 0 ], + child: PopUp({ name: 'notification-center', child: NotificationCenterWidget, diff --git a/config/ags/js/notifications/popup.js b/config/ags/js/notifications/popup.js index 91c7e27..518b09e 100644 --- a/config/ags/js/notifications/popup.js +++ b/config/ags/js/notifications/popup.js @@ -82,6 +82,6 @@ const PopupList = ({ transition = 'none' } = {}) => Box({ export const NotificationsPopupList = Window({ name: `notifications`, - anchor: 'top left', + anchor: [ 'top', 'left' ], child: PopupList(), }); diff --git a/config/ags/js/quick-settings/main.js b/config/ags/js/quick-settings/main.js index 9e86daa..04bcd98 100644 --- a/config/ags/js/quick-settings/main.js +++ b/config/ags/js/quick-settings/main.js @@ -72,7 +72,7 @@ const QuickSettingsWidget = Box({ export const QuickSettings = Window({ name: 'quick-settings', layer: 'overlay', - anchor: 'top right', + anchor: [ 'top', 'right' ], popup: true, margin: [ 8, 5, 0, ], child: PopUp({