From e8d97a9b5afde1473ce8ffc4eb7e4ccb1c845763 Mon Sep 17 00:00:00 2001 From: Florian Duros Date: Wed, 18 Feb 2026 19:14:43 +0100 Subject: [PATCH] Room list: make room list item scales with large font size (#32523) * fix(sc): make room list item scale with large font * fix: align room avatar view when using large font * test(sc): add story for large font * test(sc): update snapshots * test(sc): add story with zoom --- .../with-large-font-auto.png | Bin 0 -> 10437 bytes .../with-zoom-auto.png | Bin 0 -> 8558 bytes .../RoomListItemView.module.css | 3 +- .../RoomListItemView.stories.tsx | 29 +++- .../RoomListItemView/RoomListItemView.tsx | 2 +- .../RoomListItemView.test.tsx.snap | 18 +- .../__snapshots__/RoomListView.test.tsx.snap | 164 +++++++++--------- .../VirtualizedRoomListView.tsx | 5 +- .../VirtualizedRoomListView.test.tsx.snap | 20 +-- .../views/avatars/RoomAvatarView.tsx | 5 +- .../RoomAvatarView-test.tsx.snap | 21 ++- 11 files changed, 151 insertions(+), 116 deletions(-) create mode 100644 packages/shared-components/__vis__/linux/__baselines__/room-list/RoomListItemView/RoomListItemView.stories.tsx/with-large-font-auto.png create mode 100644 packages/shared-components/__vis__/linux/__baselines__/room-list/RoomListItemView/RoomListItemView.stories.tsx/with-zoom-auto.png diff --git a/packages/shared-components/__vis__/linux/__baselines__/room-list/RoomListItemView/RoomListItemView.stories.tsx/with-large-font-auto.png b/packages/shared-components/__vis__/linux/__baselines__/room-list/RoomListItemView/RoomListItemView.stories.tsx/with-large-font-auto.png new file mode 100644 index 0000000000000000000000000000000000000000..a34f49e1a994cf4b3610bccada0a63e6882fd4ef GIT binary patch literal 10437 zcmeHN`CHQ2zsEKw%luB8la|ipn3bvDv^4jYF(*x#GPP8&GWUHY1;KL4DJ!SQ$P}?$ zm^2|pB}F82%w5bK5UETMQ9uP05V)W2JokC-bMO7({sH~Q!^4O3Iq&m6ukD;Wzj?ds z>KN#NKp@>Szy5L_1X}wR1X?rj-5TJVfgKN~K%jqt&ir!X!u6s#HtezQG*!Idr5$;G z-FCO_+c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R)WX)pvSdZTsaFj9 z$(Ku*Z0d!VfII+d)`DORmLF=-0&UNB)&UIUisrtw83g+A_;Da#%lf|#(Z1Tu@BTFa zsQDjDw7&iDf1WXZE6=y4_+JOl-S|fHE1)HUkE2J-~123^a^SK literal 0 HcmV?d00001 diff --git a/packages/shared-components/__vis__/linux/__baselines__/room-list/RoomListItemView/RoomListItemView.stories.tsx/with-zoom-auto.png b/packages/shared-components/__vis__/linux/__baselines__/room-list/RoomListItemView/RoomListItemView.stories.tsx/with-zoom-auto.png new file mode 100644 index 0000000000000000000000000000000000000000..791a782e27f780cd6d59ca497784309da7acb0ce GIT binary patch literal 8558 zcmeHN_ghnGn?3;))KPR0EHq~v2au*BJwO~}7(j^ zsjrSa4ZM`7T>H7JDB*F2+g%y$9=##YrKu_Ry0&}z&%-F4@jX{=O{6i8+l5Gn9*J*P z;L1aeB$m#_HVRVa>eR)ZUgg{fmY!nk2kXHbml5N^30tevtA&L2%#4h00pJ;aO$-3; zU4@APu;}Q$Kr{e32mla~lORHxMy{^E_bu{wZ1bNH57xzV>@6%Dyu2J7yxh#tUS1X= zfTt5$l6ggANTd{90|x-V{2#EhumD=WJ%U(JcE|5wWP6Ee z=v@C_C;}({jLb_&bVG+7Ojk#ziCh^n&X3w)G9R)&bMhq6TGb%7{^@Ea9eLe{ zy4SBH%FQg8dv?AXfVm_WK<(>DmyG&2gJq-F>;gIt1J96klFSTRoVL%9lJajig?tEr zPMM7M_w_B=D7>`4sKEcK2+*2on@|z)xq4O$tI#B%8yN&yUOMPAguUOXb+n6rP*w{U zBHi?Z1kn1#_WMclj1h{RrDSDefc@O9`Utl;Qh{oB+|CHzw_lwtsSlQEs;$NUORL&x z#>EJ}kSwIfYZ2VgHZ28L=M-`GlvaPfQ(r{81cv zqC98!7tSMz9LE*@8(w*Vny1WTbA+oa2s5U{`b*eCX=+va;P4L)$};ga_W^*H=nNzC zEJ4yZ8pY;SMs_^ekj*NE0D$8C{$l_jCgBMH5{J7%GM&nW0H<`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hR|z?*lDlQQx5t1h40*w( zty?sLGYr*aXIH{1?_-Y1n)u(M89!Iz+x`SZfA4m{Jb{vR-c{%npp8>Kd$uW3$Wv!% z*9I5c4ve8&7Acd3-0{%1{GA&&2lT<&;+|Mg!qtqGFLS{y3c3r$Nb;$UV>;T}M%(L% z1IN@lpAMBGbvJ~9E(5^=sPPgjVo#^0s5^0nU2!!~`SafQIOP??>_+KS`Qw zUi0&FZm;ICXBD+Ke@|&a^brEw*81Q(ZtONIMnr(>^8nInTuS-}xG}iVg{NSuD`}hH zM$Hwpf2hjJnn*C7Nh@=%*TxN%IvKjHy#)7n{z!LS#l5ya$xz;nj=m$OMHLmtZkd@i zuOyy!%(l+Z`wpzw6|o@yr}cs*a7LL41lgS)JGE|s$M8?6PZH^osKFA4-S-7foTr|5 zAquYeqr=+^KWH6jn|n@kr5Z^ZY(7gNJXZ(Fe)RdDDZza*$KuI6(g|DuW_o3ulM%Rz z>#gb6E^)q&$jOyhFI=LPz2}NSfI7lC;6F{C|8Cnk?qdea>iP#x{}#0ulxn9sq?xAt zr9{e`-fsz(2(@<0Z9g$!?d~X~5gVLyep}MQL0MJR;+mXghuB5n*|AXxrbe>-C+uo( z!s1zk%-QyiZ;$@^U?)u!SabJ*7~P|8`^!dLC;J=OgjiZxjowTuXS_at=~A%gP8-=$ z9=JX4$UD2NQr_ug<5cC8x1<5HSfdT35&YVtx%jf8jSv%XUkvj&@6}jVy-#lKklUrF(m6kkd4KYX|RdVPGo zKK|un_Wv;y7+a^Sxv_U@KN6o~zdAN04! R1cEDog_-r`vY&20{5OZ?#t{Gj literal 0 HcmV?d00001 diff --git a/packages/shared-components/src/room-list/RoomListItemView/RoomListItemView.module.css b/packages/shared-components/src/room-list/RoomListItemView/RoomListItemView.module.css index 108180ed60..3c31ae50e9 100644 --- a/packages/shared-components/src/room-list/RoomListItemView/RoomListItemView.module.css +++ b/packages/shared-components/src/room-list/RoomListItemView/RoomListItemView.module.css @@ -15,7 +15,7 @@ /* Needed to position the selected marker */ position: relative; cursor: pointer; - height: 44px; + min-height: 44px; width: 100%; /* Gap between items, accounted for in ROOM_LIST_ITEM_HEIGHT */ margin-bottom: var(--cpd-space-2x); @@ -60,7 +60,6 @@ .container { flex: 1; - height: 100%; margin: 0 var(--cpd-space-3x); padding: 0 var(--cpd-space-2x); border-radius: 8px; diff --git a/packages/shared-components/src/room-list/RoomListItemView/RoomListItemView.stories.tsx b/packages/shared-components/src/room-list/RoomListItemView/RoomListItemView.stories.tsx index 22a4ae0cea..e57f28c806 100644 --- a/packages/shared-components/src/room-list/RoomListItemView/RoomListItemView.stories.tsx +++ b/packages/shared-components/src/room-list/RoomListItemView/RoomListItemView.stories.tsx @@ -5,7 +5,7 @@ * Please see LICENSE files in the repository root for full details. */ -import React, { type JSX } from "react"; +import React, { type JSX, useEffect } from "react"; import { fn } from "storybook/test"; import type { Meta, StoryObj } from "@storybook/react-vite"; @@ -218,3 +218,30 @@ export const WithoutHoverMenu: Story = { showMoreOptionsMenu: false, }, }; + +export const WithLargeFont: Story = { + args: { + isSelected: true, + }, + decorators: [ + (Story) => { + useEffect(() => { + document.documentElement.style.setProperty("font-size", "36px"); + }, []); + return ; + }, + ], +}; + +export const WithZoom: Story = { + args: { + isSelected: true, + }, + decorators: [ + (Story, context) => ( +
+ +
+ ), + ], +}; diff --git a/packages/shared-components/src/room-list/RoomListItemView/RoomListItemView.tsx b/packages/shared-components/src/room-list/RoomListItemView/RoomListItemView.tsx index 9a06b67cea..de6d9010c5 100644 --- a/packages/shared-components/src/room-list/RoomListItemView/RoomListItemView.tsx +++ b/packages/shared-components/src/room-list/RoomListItemView/RoomListItemView.tsx @@ -163,7 +163,7 @@ export const RoomListItemView = memo(function RoomListItemView({ mx_RoomListItemView_selected: isSelected, })} gap="var(--cpd-space-3x)" - align="center" + align="stretch" type="button" role="option" aria-posinset={roomIndex + 1} diff --git a/packages/shared-components/src/room-list/RoomListItemView/__snapshots__/RoomListItemView.test.tsx.snap b/packages/shared-components/src/room-list/RoomListItemView/__snapshots__/RoomListItemView.test.tsx.snap index 62fc0dff69..f2b144d09c 100644 --- a/packages/shared-components/src/room-list/RoomListItemView/__snapshots__/RoomListItemView.test.tsx.snap +++ b/packages/shared-components/src/room-list/RoomListItemView/__snapshots__/RoomListItemView.test.tsx.snap @@ -18,7 +18,7 @@ exports[` > renders Bold story 1`] = ` class="flex roomListItem mx_RoomListItemView bold" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -153,7 +153,7 @@ exports[` > renders Default story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -288,7 +288,7 @@ exports[` > renders Invitation story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -441,7 +441,7 @@ exports[` > renders NoMessagePreview story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -570,7 +570,7 @@ exports[` > renders Selected story 1`] = ` class="flex roomListItem mx_RoomListItemView selected mx_RoomListItemView_selected" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -705,7 +705,7 @@ exports[` > renders UnsentMessage story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -858,7 +858,7 @@ exports[` > renders WithHoverMenu story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -993,7 +993,7 @@ exports[` > renders WithMention story 1`] = ` class="flex roomListItem mx_RoomListItemView bold" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -1151,7 +1151,7 @@ exports[` > renders WithNotification story 1`] = ` class="flex roomListItem mx_RoomListItemView bold" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > diff --git a/packages/shared-components/src/room-list/RoomListView/__snapshots__/RoomListView.test.tsx.snap b/packages/shared-components/src/room-list/RoomListView/__snapshots__/RoomListView.test.tsx.snap index fdafa30c4d..c9ceef87e8 100644 --- a/packages/shared-components/src/room-list/RoomListView/__snapshots__/RoomListView.test.tsx.snap +++ b/packages/shared-components/src/room-list/RoomListView/__snapshots__/RoomListView.test.tsx.snap @@ -88,7 +88,7 @@ exports[` > renders Default story 1`] = ` class="flex roomListItem mx_RoomListItemView bold" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -237,7 +237,7 @@ exports[` > renders Default story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -359,7 +359,7 @@ exports[` > renders Default story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -487,7 +487,7 @@ exports[` > renders Default story 1`] = ` class="flex roomListItem mx_RoomListItemView bold" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -609,7 +609,7 @@ exports[` > renders Default story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -737,7 +737,7 @@ exports[` > renders Default story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -882,7 +882,7 @@ exports[` > renders Default story 1`] = ` class="flex roomListItem mx_RoomListItemView bold" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -1010,7 +1010,7 @@ exports[` > renders Default story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -1132,7 +1132,7 @@ exports[` > renders Default story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -1260,7 +1260,7 @@ exports[` > renders Default story 1`] = ` class="flex roomListItem mx_RoomListItemView bold" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -1382,7 +1382,7 @@ exports[` > renders Default story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -1533,7 +1533,7 @@ exports[` > renders Default story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -1655,7 +1655,7 @@ exports[` > renders Default story 1`] = ` class="flex roomListItem mx_RoomListItemView bold" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -1783,7 +1783,7 @@ exports[` > renders Default story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -1905,7 +1905,7 @@ exports[` > renders Default story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -2033,7 +2033,7 @@ exports[` > renders Default story 1`] = ` class="flex roomListItem mx_RoomListItemView bold" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -2178,7 +2178,7 @@ exports[` > renders Default story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -2306,7 +2306,7 @@ exports[` > renders Default story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -2428,7 +2428,7 @@ exports[` > renders Default story 1`] = ` class="flex roomListItem mx_RoomListItemView bold" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -2556,7 +2556,7 @@ exports[` > renders Default story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -3414,7 +3414,7 @@ exports[` > renders LargeList story 1`] = ` class="flex roomListItem mx_RoomListItemView bold" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -3563,7 +3563,7 @@ exports[` > renders LargeList story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -3685,7 +3685,7 @@ exports[` > renders LargeList story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -3813,7 +3813,7 @@ exports[` > renders LargeList story 1`] = ` class="flex roomListItem mx_RoomListItemView bold" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -3935,7 +3935,7 @@ exports[` > renders LargeList story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -4063,7 +4063,7 @@ exports[` > renders LargeList story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -4208,7 +4208,7 @@ exports[` > renders LargeList story 1`] = ` class="flex roomListItem mx_RoomListItemView bold" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -4336,7 +4336,7 @@ exports[` > renders LargeList story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -4458,7 +4458,7 @@ exports[` > renders LargeList story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -4586,7 +4586,7 @@ exports[` > renders LargeList story 1`] = ` class="flex roomListItem mx_RoomListItemView bold" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -4708,7 +4708,7 @@ exports[` > renders LargeList story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -4859,7 +4859,7 @@ exports[` > renders LargeList story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -4981,7 +4981,7 @@ exports[` > renders LargeList story 1`] = ` class="flex roomListItem mx_RoomListItemView bold" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -5109,7 +5109,7 @@ exports[` > renders LargeList story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -5231,7 +5231,7 @@ exports[` > renders LargeList story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -5359,7 +5359,7 @@ exports[` > renders LargeList story 1`] = ` class="flex roomListItem mx_RoomListItemView bold" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -5504,7 +5504,7 @@ exports[` > renders LargeList story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -5632,7 +5632,7 @@ exports[` > renders LargeList story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -5754,7 +5754,7 @@ exports[` > renders LargeList story 1`] = ` class="flex roomListItem mx_RoomListItemView bold" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -5882,7 +5882,7 @@ exports[` > renders LargeList story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -6004,7 +6004,7 @@ exports[` > renders LargeList story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -6155,7 +6155,7 @@ exports[` > renders LargeList story 1`] = ` class="flex roomListItem mx_RoomListItemView bold" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -6277,7 +6277,7 @@ exports[` > renders LargeList story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -6405,7 +6405,7 @@ exports[` > renders LargeList story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -6527,7 +6527,7 @@ exports[` > renders LargeList story 1`] = ` class="flex roomListItem mx_RoomListItemView bold" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -6655,7 +6655,7 @@ exports[` > renders LargeList story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -6800,7 +6800,7 @@ exports[` > renders LargeList story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -6928,7 +6928,7 @@ exports[` > renders LargeList story 1`] = ` class="flex roomListItem mx_RoomListItemView bold" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -7050,7 +7050,7 @@ exports[` > renders LargeList story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -7178,7 +7178,7 @@ exports[` > renders LargeList story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -7300,7 +7300,7 @@ exports[` > renders LargeList story 1`] = ` class="flex roomListItem mx_RoomListItemView bold" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -7451,7 +7451,7 @@ exports[` > renders LargeList story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -7573,7 +7573,7 @@ exports[` > renders LargeList story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -7701,7 +7701,7 @@ exports[` > renders LargeList story 1`] = ` class="flex roomListItem mx_RoomListItemView bold" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -7823,7 +7823,7 @@ exports[` > renders LargeList story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -7951,7 +7951,7 @@ exports[` > renders LargeList story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -8096,7 +8096,7 @@ exports[` > renders LargeList story 1`] = ` class="flex roomListItem mx_RoomListItemView bold" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -8368,7 +8368,7 @@ exports[` > renders SmallList story 1`] = ` class="flex roomListItem mx_RoomListItemView bold" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -8517,7 +8517,7 @@ exports[` > renders SmallList story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -8639,7 +8639,7 @@ exports[` > renders SmallList story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -8767,7 +8767,7 @@ exports[` > renders SmallList story 1`] = ` class="flex roomListItem mx_RoomListItemView bold" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -8889,7 +8889,7 @@ exports[` > renders SmallList story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -9097,7 +9097,7 @@ exports[` > renders WithActiveFilter story 1`] = ` class="flex roomListItem mx_RoomListItemView bold" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -9246,7 +9246,7 @@ exports[` > renders WithActiveFilter story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -9368,7 +9368,7 @@ exports[` > renders WithActiveFilter story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -9496,7 +9496,7 @@ exports[` > renders WithActiveFilter story 1`] = ` class="flex roomListItem mx_RoomListItemView bold" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -9618,7 +9618,7 @@ exports[` > renders WithActiveFilter story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -9746,7 +9746,7 @@ exports[` > renders WithActiveFilter story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -9891,7 +9891,7 @@ exports[` > renders WithActiveFilter story 1`] = ` class="flex roomListItem mx_RoomListItemView bold" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -10019,7 +10019,7 @@ exports[` > renders WithActiveFilter story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -10141,7 +10141,7 @@ exports[` > renders WithActiveFilter story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -10269,7 +10269,7 @@ exports[` > renders WithActiveFilter story 1`] = ` class="flex roomListItem mx_RoomListItemView bold" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -10391,7 +10391,7 @@ exports[` > renders WithActiveFilter story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -10542,7 +10542,7 @@ exports[` > renders WithActiveFilter story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -10664,7 +10664,7 @@ exports[` > renders WithActiveFilter story 1`] = ` class="flex roomListItem mx_RoomListItemView bold" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -10792,7 +10792,7 @@ exports[` > renders WithActiveFilter story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -10914,7 +10914,7 @@ exports[` > renders WithActiveFilter story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -11042,7 +11042,7 @@ exports[` > renders WithActiveFilter story 1`] = ` class="flex roomListItem mx_RoomListItemView bold" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -11187,7 +11187,7 @@ exports[` > renders WithActiveFilter story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -11315,7 +11315,7 @@ exports[` > renders WithActiveFilter story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -11437,7 +11437,7 @@ exports[` > renders WithActiveFilter story 1`] = ` class="flex roomListItem mx_RoomListItemView bold" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -11565,7 +11565,7 @@ exports[` > renders WithActiveFilter story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > diff --git a/packages/shared-components/src/room-list/VirtualizedRoomListView/VirtualizedRoomListView.tsx b/packages/shared-components/src/room-list/VirtualizedRoomListView/VirtualizedRoomListView.tsx index 634ede2d47..5eb17ab27f 100644 --- a/packages/shared-components/src/room-list/VirtualizedRoomListView/VirtualizedRoomListView.tsx +++ b/packages/shared-components/src/room-list/VirtualizedRoomListView/VirtualizedRoomListView.tsx @@ -177,11 +177,12 @@ export function VirtualizedRoomListView({ vm, renderAvatar, onKeyDown }: Virtual > renders Default story 1`] = ` class="flex roomListItem mx_RoomListItemView selected bold mx_RoomListItemView_selected" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -188,7 +188,7 @@ exports[` > renders Default story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -310,7 +310,7 @@ exports[` > renders Default story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -438,7 +438,7 @@ exports[` > renders Default story 1`] = ` class="flex roomListItem mx_RoomListItemView bold" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -560,7 +560,7 @@ exports[` > renders Default story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -688,7 +688,7 @@ exports[` > renders Default story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -833,7 +833,7 @@ exports[` > renders Default story 1`] = ` class="flex roomListItem mx_RoomListItemView bold" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -961,7 +961,7 @@ exports[` > renders Default story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -1083,7 +1083,7 @@ exports[` > renders Default story 1`] = ` class="flex roomListItem mx_RoomListItemView" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > @@ -1211,7 +1211,7 @@ exports[` > renders Default story 1`] = ` class="flex roomListItem mx_RoomListItemView bold" data-state="closed" role="option" - style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" + style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: stretch; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x); --mx-flex-wrap: nowrap;" tabindex="-1" type="button" > diff --git a/src/components/views/avatars/RoomAvatarView.tsx b/src/components/views/avatars/RoomAvatarView.tsx index 408690fa1d..b21a0ed04e 100644 --- a/src/components/views/avatars/RoomAvatarView.tsx +++ b/src/components/views/avatars/RoomAvatarView.tsx @@ -15,6 +15,7 @@ import OfflineIcon from "@vector-im/compound-design-tokens/assets/web/icons/pres import BusyIcon from "@vector-im/compound-design-tokens/assets/web/icons/presence-strikethrough-8x8"; import classNames from "classnames"; import { Tooltip } from "@vector-im/compound-web"; +import { Flex } from "@element-hq/web-shared-components"; import RoomAvatar from "./RoomAvatar"; import { AvatarBadgeDecoration, useRoomAvatarViewModel } from "../../viewmodels/avatars/RoomAvatarViewModel"; @@ -48,10 +49,10 @@ export function RoomAvatarView({ room }: RoomAvatarViewProps): JSX.Element { : "mx_RoomAvatarView_RoomAvatar_icon"; return ( -
+ {label ? {icon} : icon} -
+ ); } diff --git a/test/unit-tests/components/views/avatars/__snapshots__/RoomAvatarView-test.tsx.snap b/test/unit-tests/components/views/avatars/__snapshots__/RoomAvatarView-test.tsx.snap index 8c9610eeb4..ff9a6b8f05 100644 --- a/test/unit-tests/components/views/avatars/__snapshots__/RoomAvatarView-test.tsx.snap +++ b/test/unit-tests/components/views/avatars/__snapshots__/RoomAvatarView-test.tsx.snap @@ -27,7 +27,8 @@ exports[` should not render a decoration 1`] = ` exports[` should render a low priority room decoration 1`] = `
should render a low priority room decoration 1`] = ` exports[` should render a public room decoration 1`] = `
should render a public room decoration 1`] = ` exports[` should render a video room decoration 1`] = `
should render a video room decoration 1`] = ` exports[` should render the AWAY presence 1`] = `
should render the AWAY presence 1`] = ` exports[` should render the BUSY presence 1`] = `
should render the BUSY presence 1`] = ` exports[` should render the OFFLINE presence 1`] = `
should render the OFFLINE presence 1`] = ` exports[` should render the ONLINE presence 1`] = `