1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-08-09 08:42:50 +03:00

Fix big date separators when jump to date is enabled (#10404)

Fix https://github.com/vector-im/element-web/issues/22969
This commit is contained in:
Eric Eastwood
2023-03-20 11:03:36 -05:00
committed by GitHub
parent 5b2e12ca0c
commit 7a68bd9cef
5 changed files with 47 additions and 19 deletions

View File

@@ -53,11 +53,16 @@ exports[`<MessageEditHistory /> should match the snapshot 1`] = `
<hr
role="none"
/>
<h2
aria-hidden="true"
<div
class="mx_DateSeparator_dateContent"
>
Thu, Jan 1 1970
</h2>
<h2
aria-hidden="true"
class="mx_DateSeparator_dateHeading"
>
Thu, Jan 1 1970
</h2>
</div>
<hr
role="none"
/>
@@ -165,11 +170,16 @@ exports[`<MessageEditHistory /> should support events with 1`] = `
<hr
role="none"
/>
<h2
aria-hidden="true"
<div
class="mx_DateSeparator_dateContent"
>
, NaN NaN
</h2>
<h2
aria-hidden="true"
class="mx_DateSeparator_dateHeading"
>
, NaN NaN
</h2>
</div>
<hr
role="none"
/>