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
|
@ -11,11 +11,16 @@ exports[`DateSeparator renders the date separator correctly 1`] = `
|
|||
<hr
|
||||
role="none"
|
||||
/>
|
||||
<h2
|
||||
aria-hidden="true"
|
||||
<div
|
||||
class="mx_DateSeparator_dateContent"
|
||||
>
|
||||
Today
|
||||
</h2>
|
||||
<h2
|
||||
aria-hidden="true"
|
||||
class="mx_DateSeparator_dateHeading"
|
||||
>
|
||||
Today
|
||||
</h2>
|
||||
</div>
|
||||
<hr
|
||||
role="none"
|
||||
/>
|
||||
|
@ -38,12 +43,13 @@ exports[`DateSeparator when feature_jump_to_date is enabled renders the date sep
|
|||
aria-expanded="false"
|
||||
aria-haspopup="true"
|
||||
aria-label="Jump to date"
|
||||
class="mx_AccessibleButton mx_DateSeparator_jumpToDateMenu"
|
||||
class="mx_AccessibleButton mx_DateSeparator_jumpToDateMenu mx_DateSeparator_dateContent"
|
||||
role="button"
|
||||
tabindex="0"
|
||||
>
|
||||
<h2
|
||||
aria-hidden="true"
|
||||
class="mx_DateSeparator_dateHeading"
|
||||
>
|
||||
Fri, Dec 17 2021
|
||||
</h2>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue