Fix notification badge sizing (#34655)
* Fix notification badge sizing * Update snapshots * Add space panel badge regression test * Update snapshot * Updated test to test assert screenshot * Update snapshot to look correct * Update playwright test * fix aliased issues
This commit is contained in:
+4
-4
@@ -640,13 +640,13 @@ exports[`<Notifications /> correctly handles the loading/disabled state 1`] = `
|
||||
<span>
|
||||
Show a badge
|
||||
<div
|
||||
class="mx_NotificationSettings2_notificationBadge _notificationBadge_kb9ny_8 _visible_kb9ny_15 _notification_kb9ny_8 _badge2Char_kb9ny_56 cpd-theme-light"
|
||||
class="mx_NotificationSettings2_notificationBadge _notificationBadge_19whq_8 _visible_19whq_16 _notification_19whq_8 _badge2Char_19whq_57 cpd-theme-light"
|
||||
data-badge-type="badge_2char"
|
||||
data-notification-level="notification"
|
||||
data-testid="notification-badge"
|
||||
>
|
||||
<span
|
||||
class="_count_kb9ny_39"
|
||||
class="_count_19whq_40"
|
||||
>
|
||||
1
|
||||
</span>
|
||||
@@ -1658,13 +1658,13 @@ exports[`<Notifications /> matches the snapshot 1`] = `
|
||||
<span>
|
||||
Show a badge
|
||||
<div
|
||||
class="mx_NotificationSettings2_notificationBadge _notificationBadge_kb9ny_8 _visible_kb9ny_15 _notification_kb9ny_8 _badge2Char_kb9ny_56 cpd-theme-light"
|
||||
class="mx_NotificationSettings2_notificationBadge _notificationBadge_19whq_8 _visible_19whq_16 _notification_19whq_8 _badge2Char_19whq_57 cpd-theme-light"
|
||||
data-badge-type="badge_2char"
|
||||
data-notification-level="notification"
|
||||
data-testid="notification-badge"
|
||||
>
|
||||
<span
|
||||
class="_count_kb9ny_39"
|
||||
class="_count_19whq_40"
|
||||
>
|
||||
1
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user