diff --git a/res/css/views/settings/tabs/room/_PeopleRoomSettingsTab.pcss b/res/css/views/settings/tabs/room/_PeopleRoomSettingsTab.pcss index 0b9c5c00a28..4341d248d9f 100644 --- a/res/css/views/settings/tabs/room/_PeopleRoomSettingsTab.pcss +++ b/res/css/views/settings/tabs/room/_PeopleRoomSettingsTab.pcss @@ -24,6 +24,11 @@ limitations under the License. margin: 0 var(--cpd-space-4x); } +.mx_PeopleRoomSettingsTab_avatar { + align-self: flex-start; + flex-shrink: 0; +} + .mx_PeopleRoomSettingsTab_name { font-weight: var(--cpd-font-weight-semibold); } diff --git a/src/components/views/settings/tabs/room/PeopleRoomSettingsTab.tsx b/src/components/views/settings/tabs/room/PeopleRoomSettingsTab.tsx index 750dfdf71d2..32411f54028 100644 --- a/src/components/views/settings/tabs/room/PeopleRoomSettingsTab.tsx +++ b/src/components/views/settings/tabs/room/PeopleRoomSettingsTab.tsx @@ -82,7 +82,7 @@ const Knock: VFC<{ return (
- +
{roomMember.name} diff --git a/test/components/views/settings/tabs/room/__snapshots__/PeopleRoomSettingsTab-test.tsx.snap b/test/components/views/settings/tabs/room/__snapshots__/PeopleRoomSettingsTab-test.tsx.snap index 7ba75bdef0d..8e6a9aa46aa 100644 --- a/test/components/views/settings/tabs/room/__snapshots__/PeopleRoomSettingsTab-test.tsx.snap +++ b/test/components/views/settings/tabs/room/__snapshots__/PeopleRoomSettingsTab-test.tsx.snap @@ -17,7 +17,7 @@ exports[`PeopleRoomSettingsTab with requests to join renders requests fully 1`] >