* fix: make the filter resize correctly
* test: update snapshot
(cherry picked from commit 155c0b6a0c)
Co-authored-by: Florian Duros <florianduros@element.io>
This commit is contained in:
@@ -12,10 +12,7 @@
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul {
|
.mx_RoomListPrimaryFilters_list {
|
||||||
margin: unset;
|
|
||||||
padding: unset;
|
|
||||||
list-style-type: none;
|
|
||||||
/**
|
/**
|
||||||
* The InteractionObserver needs the height to be set to work properly.
|
* The InteractionObserver needs the height to be set to work properly.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -59,6 +59,7 @@ export function RoomListPrimaryFilters({ vm }: RoomListPrimaryFiltersProps): JSX
|
|||||||
align="center"
|
align="center"
|
||||||
gap="var(--cpd-space-2x)"
|
gap="var(--cpd-space-2x)"
|
||||||
wrap="wrap"
|
wrap="wrap"
|
||||||
|
className="mx_RoomListPrimaryFilters_list"
|
||||||
ref={ref}
|
ref={ref}
|
||||||
>
|
>
|
||||||
{filters.map((filter, i) => (
|
{filters.map((filter, i) => (
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ exports[`<RoomListPrimaryFilters /> should renders all filters correctly 1`] = `
|
|||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
aria-label="Room list filters"
|
aria-label="Room list filters"
|
||||||
class="flex"
|
class="flex mx_RoomListPrimaryFilters_list"
|
||||||
id="«r0»"
|
id="«r0»"
|
||||||
role="listbox"
|
role="listbox"
|
||||||
style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-2x); --mx-flex-wrap: wrap;"
|
style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-2x); --mx-flex-wrap: wrap;"
|
||||||
|
|||||||
Reference in New Issue
Block a user