Fixed Notifiactions going out of screen
This commit is contained in:
1 parent
5cc25f839b
commit
1eef83e941
2 files changed
+12
-7
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user