mirror of https://github.com/vector-im/riot-web
[Backport staging] Fix avatars in public room & space search being flex shrunk (#11591)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>pull/28788/head^2
parent
708537d615
commit
9834686e90
|
@ -277,6 +277,7 @@ limitations under the License.
|
|||
margin-right: $spacing-8;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
flex-shrink: 0;
|
||||
|
||||
.mx_BaseAvatar {
|
||||
width: inherit;
|
||||
|
|
|
@ -563,7 +563,7 @@ const SpotlightDialog: React.FC<IProps> = ({ initialText = "", initialFilter = n
|
|||
};
|
||||
|
||||
let otherSearchesSection: JSX.Element | undefined;
|
||||
if (trimmedQuery || filter !== Filter.PublicRooms) {
|
||||
if (trimmedQuery || (filter !== Filter.PublicRooms && filter !== Filter.PublicSpaces)) {
|
||||
otherSearchesSection = (
|
||||
<div
|
||||
className="mx_SpotlightDialog_section mx_SpotlightDialog_otherSearches"
|
||||
|
|
Loading…
Reference in New Issue