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:
parent
5b2e12ca0c
commit
7a68bd9cef
5 changed files with 47 additions and 19 deletions
|
@ -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"
|
||||
/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue