💥 fix(ags/notifications): replace '&' with '&' on notification widget(pango markup thing), fix spacing
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
top: 6px;
|
top: 6px;
|
||||||
};
|
};
|
||||||
|
|
||||||
& > .notification {
|
& .notification {
|
||||||
margin: 6px;
|
margin: 6px;
|
||||||
box-shadow: 0 0 4px .5px colors.$bg-primary;
|
box-shadow: 0 0 4px .5px colors.$bg-primary;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ export function NotificationWidget(notification: AstalNotifd.Notification|number
|
|||||||
useMarkup: true,
|
useMarkup: true,
|
||||||
xalign: 0,
|
xalign: 0,
|
||||||
truncate: true,
|
truncate: true,
|
||||||
label: notification.summary
|
label: notification.summary.replace(/\&/g, "&")
|
||||||
}),
|
}),
|
||||||
new Widget.Label({
|
new Widget.Label({
|
||||||
className: "body",
|
className: "body",
|
||||||
@@ -103,7 +103,7 @@ export function NotificationWidget(notification: AstalNotifd.Notification|number
|
|||||||
truncate: false,
|
truncate: false,
|
||||||
wrap: true,
|
wrap: true,
|
||||||
wrapMode: Pango.WrapMode.WORD,
|
wrapMode: Pango.WrapMode.WORD,
|
||||||
label: notification.body
|
label: notification.body.replace(/\&/g, "&")
|
||||||
} as Widget.LabelProps)
|
} as Widget.LabelProps)
|
||||||
]
|
]
|
||||||
} as Widget.BoxProps)
|
} as Widget.BoxProps)
|
||||||
|
|||||||
Reference in New Issue
Block a user