Fix avatars in public room & space search being flex shrunk (#11580)
This commit is contained in:
parent
8b9719d46a
commit
9479433b0e
2 changed files with 2 additions and 1 deletions
|
@ -277,6 +277,7 @@ limitations under the License.
|
||||||
margin-right: $spacing-8;
|
margin-right: $spacing-8;
|
||||||
width: 24px;
|
width: 24px;
|
||||||
height: 24px;
|
height: 24px;
|
||||||
|
flex-shrink: 0;
|
||||||
|
|
||||||
.mx_BaseAvatar {
|
.mx_BaseAvatar {
|
||||||
width: inherit;
|
width: inherit;
|
||||||
|
|
|
@ -563,7 +563,7 @@ const SpotlightDialog: React.FC<IProps> = ({ initialText = "", initialFilter = n
|
||||||
};
|
};
|
||||||
|
|
||||||
let otherSearchesSection: JSX.Element | undefined;
|
let otherSearchesSection: JSX.Element | undefined;
|
||||||
if (trimmedQuery || filter !== Filter.PublicRooms) {
|
if (trimmedQuery || (filter !== Filter.PublicRooms && filter !== Filter.PublicSpaces)) {
|
||||||
otherSearchesSection = (
|
otherSearchesSection = (
|
||||||
<div
|
<div
|
||||||
className="mx_SpotlightDialog_section mx_SpotlightDialog_otherSearches"
|
className="mx_SpotlightDialog_section mx_SpotlightDialog_otherSearches"
|
||||||
|
|
Loading…
Reference in a new issue