fix(ags): use window margin instead of css for windows

This commit is contained in:
matt1432 2023-09-12 23:53:48 -04:00
parent 3d4a0d8156
commit e6d2e891d7
7 changed files with 4 additions and 13 deletions

View file

@ -71,6 +71,7 @@ export const Calendar = Window({
popup: true,
layer: 'overlay',
anchor: 'top right',
margin: [ 8, 182, 0, 0],
child: Box({
className: 'date',
vertical: true,

View file

@ -63,6 +63,7 @@ export const NotificationCenter = Window({
popup: true,
layer: 'overlay',
anchor: 'top right',
margin: [ 8, 60, 0, 0 ],
child: Box({
className: 'notification-center',
vertical: true,

View file

@ -9,6 +9,7 @@ export const QuickSettings = Window({
layer: 'overlay',
popup: true,
anchor: 'top right',
margin: [ 8, 5, 0, ],
child: Box({
className: 'qs-container',
vertical: true,

View file

@ -4,8 +4,6 @@
border-radius: 30px;
border-top-right-radius: 0px;
border: 2px solid $contrastbg;
margin-right: 182px;
margin-top: 8px;
}
.timebox {

View file

@ -1,8 +1,6 @@
.notification-center {
min-height: 700px;
min-width: 524px;
margin-top: 8px;
margin-right: 60px;
background: $bg;
border-radius: 30px;
border-top-right-radius: 0px;

View file

@ -1,6 +1,4 @@
.quick-settings {
margin-right: 5px;
margin-top: 8px;
font-size: 30px;
min-width: 500px;
padding: 0px 0px 0px 0px;

View file

@ -182,8 +182,6 @@ tooltip {
.notification-center {
min-height: 700px;
min-width: 524px;
margin-top: 8px;
margin-right: 60px;
background: rgba(40, 42, 54, 0.8);
border-radius: 30px;
border-top-right-radius: 0px;
@ -400,9 +398,7 @@ tooltip {
color: #a5b6cf;
border-radius: 30px;
border-top-right-radius: 0px;
border: 2px solid rgba(189, 147, 249, 0.8);
margin-right: 182px;
margin-top: 8px; }
border: 2px solid rgba(189, 147, 249, 0.8); }
.timebox {
margin: 30px 0px; }
@ -456,8 +452,6 @@ calendar:indeterminate {
color: #262831; }
.quick-settings {
margin-right: 5px;
margin-top: 8px;
font-size: 30px;
min-width: 500px;
padding: 0px 0px 0px 0px;