Fixed Notifiactions going out of screen

This commit is contained in:
tr1x_em committed 2025-08-11 08:38:05 +05:30
1 parent 5cc25f839b
commit 1eef83e941
2 files changed
+12 -7

No files matched your search

+2 -1
View File
@@ -506,7 +506,7 @@ class NotificationWidget(Box):
name="notification-summary",
markup=notification.summary.replace("\n", " "),
h_align="start",
max_chars_width=30,
max_chars_width=40,
ellipsization="end",
),
# Label(
@@ -521,6 +521,7 @@ class NotificationWidget(Box):
Label(
markup=notification.body.replace("\n", " "),
h_align="start",
max_chars_width=45,
ellipsization="end",
)
if notification.body